# Perspective Auto Login

**URL:** <https://forum.inductiveautomation.com/t/perspective-auto-login/45566>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [April 14, 2021, 3:14am UTC](https://forum.inductiveautomation.com/t/perspective-auto-login/45566 "2021-04-14T03:14:42Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![calimero100582](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/calimero100582/32/18630_2.png) [@calimero100582](https://forum.inductiveautomation.com/u/calimero100582)\
**Post date:** [May 21, 2021, 1:08pm UTC](https://forum.inductiveautomation.com/t/perspective-auto-login/45566/7 "2021-05-21T13:08:12Z")

</div>

I did it in my project

I created a header page, without any security on it.  
I add an empty label, but you can use any component in it  
Add the following in a Startup Script on this component

```auto
if not system.perspective.isAuthorized(False, ["Authenticated"]):
	system.perspective.login()

```

So whenever I have a page with security, I use this header

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-auto-login/45566)._
