# Perspective Security - Auto Login?

**URL:** <https://forum.inductiveautomation.com/t/perspective-security-auto-login/100000>\
**Category:** Ignition\
**Tags:** perspective, scripting, ignition81\
**Created:** [December 18, 2024, 7:22pm UTC](https://forum.inductiveautomation.com/t/perspective-security-auto-login/100000 "2024-12-18T19:22:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke\_Reznecheck](https://avatars.discourse-cdn.com/v4/letter/l/b487fb/32.png) [@Luke\_Reznecheck](https://forum.inductiveautomation.com/u/Luke_Reznecheck)\
**Post date:** [December 18, 2024, 7:22pm UTC](https://forum.inductiveautomation.com/t/perspective-security-auto-login/100000/1 "2024-12-18T19:22:26Z")

</div>

I am looking for any ideas people may have around an "Auto-Login" behavior within a Perspective session.

I see in the auth property on the perspective session properties is a private property, writable through binding and scripts. I am wondering if these properties were manipulated through a script (button click) and property values were set similarily to a logged in user, would that essentially bypass the need to "login"? I do have write security setup on all my tags based on Authenticated roles, I would want that security structure to function after clicking this button.

I am also wondering if disabling the "Always ask the IdP to re-authenticate users by default" in Project Properties, would also be beneficial. I would imagine then you would just need to login once with the account you would want to use and then all relaunched sessions from that client would login with that user account without having to enter the credentials again?

Other thoughts?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 18, 2024, 8:05pm UTC](https://forum.inductiveautomation.com/t/perspective-security-auto-login/100000/2 "2024-12-18T20:05:52Z")

</div>

There is no such thing as autologin in Perspective, and it's not possible to force it.

You can _fake_ it, to some extent, by allowing unauthenticated access or, better, finding an IdP that supports browser SSO so you can recycle existing domain credentials, but it's fundamentally impossible to script a login for deliberate security reasons.
