# Notifying users before refresh tokens get expired

**URL:** <https://community.auth0.com/t/notifying-users-before-refresh-tokens-get-expired/131995>\
**Category:** Get Help\
**Tags:** rotating-refresh-tokens, sessions\
**Created:** [April 15, 2024, 9:56am UTC](https://community.auth0.com/t/notifying-users-before-refresh-tokens-get-expired/131995 "2024-04-15T09:56:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tks](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tks/32/33936_2.png) [@tks](https://community.auth0.com/u/tks)\
**Post date:** [April 15, 2024, 9:56am UTC](https://community.auth0.com/t/notifying-users-before-refresh-tokens-get-expired/131995/1 "2024-04-15T09:56:48Z")

</div>

Hi there,

We’re building a single page application with refresh tokens enabled. Since Refresh Token Expiration is configured, users will be logged out after the specific inactive period.  
We’d like to let users know when a refresh token is about to expire so that they can extend the session if needed.  
Is there any way to know the expiry of the refresh token, or any related information like the remaining time etc?

Thanks,

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [April 22, 2024, 8:50pm UTC](https://community.auth0.com/t/notifying-users-before-refresh-tokens-get-expired/131995/3 "2024-04-22T20:50:30Z")

</div>

Hey there @tks !

Please see the following post:

> [@How to get Refresh token expiry time in response?](https://community.auth0.com/t/how-to-get-refresh-token-expiry-time-in-response/129693/3):
>
> Hey there @shantanu.r welcome to the community! As far as I’m aware there isn’t any sort of expires\_in or expiresAt for refresh tokens the way there is access tokens confused

---

<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 6, 2024, 8:50pm UTC](https://community.auth0.com/t/notifying-users-before-refresh-tokens-get-expired/131995/4 "2024-05-06T20:50:45Z")

</div>

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