# Login without password

**URL:** <https://forum.inductiveautomation.com/t/login-without-password/58541>\
**Category:** Ignition\
**Created:** [April 18, 2022, 9:50am UTC](https://forum.inductiveautomation.com/t/login-without-password/58541 "2022-04-18T09:50:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user66](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@user66](https://forum.inductiveautomation.com/u/user66)\
**Post date:** [April 18, 2022, 9:50am UTC](https://forum.inductiveautomation.com/t/login-without-password/58541/1 "2022-04-18T09:50:04Z")

</div>

I added a few users in gateway using script without adding password for them  
Can I login to the project with those users that does not have password?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 18, 2022, 12:12pm UTC](https://forum.inductiveautomation.com/t/login-without-password/58541/2 "2022-04-18T12:12:03Z")

</div>

If the **Project | General | Required Roles** is blank then the Perspective session should launch without the login screen. The user can then view any screens that do not have permission requirements.

You would then need to supply a login button so that authorised users could access pages with security permissions.

Of course, if usernames exist without passwords then anyone can use them so they are pretty much useless.

---

<div class="post-metadata">

**Author:** ![user66](https://avatars.discourse-cdn.com/v4/letter/u/b487fb/32.png) [@user66](https://forum.inductiveautomation.com/u/user66)\
**Post date:** [April 18, 2022, 12:26pm UTC](https://forum.inductiveautomation.com/t/login-without-password/58541/3 "2022-04-18T12:26:37Z")

</div>

> [@Transistor](#):
>
> Of course, if usernames exist without passwords then anyone can use them so they are pretty much useless.

What I observed was that when I try to create a user without entering password directly in the gateway, the user doesn't get added without the password being entered but when I add a user in script without the password, the user is added in the gateway. But when I login with that username I'm asked to enter the password.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 18, 2022, 12:29pm UTC](https://forum.inductiveautomation.com/t/login-without-password/58541/4 "2022-04-18T12:29:28Z")

</div>

What problem are you trying to solve by assigning usernames without passwords? I imagine that any login dialog is going to expect both a username and password before it will submit for authentication.
