# OpenID Connect 1.0 Expiration Time always showing 0?

**URL:** <https://forum.inductiveautomation.com/t/openid-connect-1-0-expiration-time-always-showing-0/80906>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 24, 2023, 1:55pm UTC](https://forum.inductiveautomation.com/t/openid-connect-1-0-expiration-time-always-showing-0/80906 "2023-10-24T13:55:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noah\_Casey](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@Noah\_Casey](https://forum.inductiveautomation.com/u/Noah_Casey)\
**Post date:** [October 24, 2023, 1:55pm UTC](https://forum.inductiveautomation.com/t/openid-connect-1-0-expiration-time-always-showing-0/80906/1 "2023-10-24T13:55:49Z")

</div>

Hello all,

I'm having issues with the OpenID Connect 1.0  
My authorization token keeps expiring and I want to pull up a screen that notifies the users that they need to log out and log back in to get a new authorization key.

The issue is the expiration time is always 0 so there is no way to do this you would think that Ignition keeps track of it which it seems like it does for example:

When you perform a test login it gives you this:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/8/88304bd4505651423077d1fe3d102ee8021886f4.png)

But Inside of Perspective the expiration time is always 0 even though I can hit the API:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/5/d527b32bf7a80a3f0d01a6b635ff063b2721b806.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/d/9d6ffa972ce69ad4e37fcd3cb00a37061821879b.png)

Is there any other way to be able to tell when the user authorization fails?  
I was thinking a startup script to hit the API and if it returns unauthorized that would trigger the popup but I feel like there should be a more efficient way of doing this without hitting the API over and over again.

Any help is greatly appreciated!

Thanks
