# Show popup before session expire

**URL:** <https://community.auth0.com/t/show-popup-before-session-expire/148229>\
**Category:** Get Help\
**Tags:** sessions, logout\
**Created:** [September 30, 2024, 6:01am UTC](https://community.auth0.com/t/show-popup-before-session-expire/148229 "2024-09-30T06:01:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![suraj.parmar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/suraj.parmar/32/59774_2.png) [@suraj.parmar](https://community.auth0.com/u/suraj.parmar)\
**Post date:** [September 30, 2024, 6:01am UTC](https://community.auth0.com/t/show-popup-before-session-expire/148229/1 "2024-09-30T06:01:08Z")

</div>

Ready to post? 🔍 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?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 14, 2024, 3:45pm UTC](https://community.auth0.com/t/show-popup-before-session-expire/148229/3 "2024-10-14T15:45:12Z")

</div>

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](https://community.auth0.com/t/why-users-remain-logged-in-after-the-inactivity-timeout/87161))

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](https://auth0.com/docs/manage-users/sessions/configure-session-lifetime-settings) documentation.

Cheers,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 28, 2024, 3:46pm UTC](https://community.auth0.com/t/show-popup-before-session-expire/148229/4 "2024-10-28T15:46:10Z")

</div>

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