Show popup before session expire

Ready to post? :mag: First, try searching for your answer.
Hi,

I want to show a popup before user automatically logout by auth0 when the session is over.

I just want to show the user that you will be logged out and would you like to continue?

I want to extend the session from the popup on the extend button click.

In this, please refer below timing

ID Token Expiration:1200 seconds

Absolute Lifetime:2592000 seconds

Inactivity Lifetime:1296000 seconds

I am using anguler and auth0/auth0-angular": “^2.2.3”

Also, I want to know from this ID Token Expiration, Absolute Lifetime, and Inactivity Lifetime
Which is responsible for the user’s automatic logout?

Hi @suraj.parmar,

Thanks for reaching out to the Auth0 Community!

Unfortunately, there isn’t a mechanism out of the box to show a popup before a user is automatically logged out when a session ends in Auth0.

Additionally, settings like the ID Token Expiration, Absolute Lifetime, and Inactivity Lifetime control the ID Token and Refresh Token expirations, not session logouts. (Reference: Why Users Remain Logged In After the Inactivity Timeout)

Instead, you should configure your session lifetime settings to control when a user is automatically logged out.

Please refer to our Configure Session Lifetime Settings documentation.

Cheers,
Rueben

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.