# How to Increase Session Duration When ID Token Lifetime Is 30 Seconds

**URL:** <https://community.auth0.com/t/how-to-increase-session-duration-when-id-token-lifetime-is-30-seconds/186088>\
**Category:** Get Help\
**Tags:** sessions, access-token\
**Created:** [April 29, 2025, 1:01pm UTC](https://community.auth0.com/t/how-to-increase-session-duration-when-id-token-lifetime-is-30-seconds/186088 "2025-04-29T13:01:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![soportespectrum](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/soportespectrum/32/73229_2.png) [@soportespectrum](https://community.auth0.com/u/soportespectrum)\
**Post date:** [April 29, 2025, 1:01pm UTC](https://community.auth0.com/t/how-to-increase-session-duration-when-id-token-lifetime-is-30-seconds/186088/1 "2025-04-29T13:01:47Z")

</div>

I have a WEB application in react we configure ID Token Expiration Maximum ID Token Lifetime in 30 secods but I saw that the sesion always finched in 24 hours. How can aument this time of the session life?

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [April 29, 2025, 9:32pm UTC](https://community.auth0.com/t/how-to-increase-session-duration-when-id-token-lifetime-is-30-seconds/186088/3 "2025-04-29T21:32:59Z")

</div>

Hi @soportespectrum,

The lifespan of the ID Token does not impact the session lifetime, so given that you are referring to a 24 hour timeframe my guess is that your Access Token expires after this period of time, since that is its default value. You can also have a longer living Access Token, but generally the recommended approach would be using [Refresh Tokens](https://auth0.com/docs/secure/tokens/refresh-tokens).

I would recommend checking out this [Knowledge Article](https://community.auth0.com/t/refresh-token-and-session-management/91322) about **Refresh Token and Session Management** , which provides useful information on the matter and documentation links as well.

I hope this helps!  
Thanks,  
Remus

---

<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:** [May 13, 2025, 9:33pm UTC](https://community.auth0.com/t/how-to-increase-session-duration-when-id-token-lifetime-is-30-seconds/186088/4 "2025-05-13T21:33:45Z")

</div>

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