# How to check if refresh token is expired in mobile app?

**URL:** <https://community.auth0.com/t/how-to-check-if-refresh-token-is-expired-in-mobile-app/104103>\
**Category:** Get Help\
**Tags:** rotating-refresh-tokens, sessions\
**Created:** [April 4, 2023, 3:27pm UTC](https://community.auth0.com/t/how-to-check-if-refresh-token-is-expired-in-mobile-app/104103 "2023-04-04T15:27:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![neha.kumari2](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@neha.kumari2](https://community.auth0.com/u/neha.kumari2)\
**Post date:** [April 4, 2023, 3:27pm UTC](https://community.auth0.com/t/how-to-check-if-refresh-token-is-expired-in-mobile-app/104103/1 "2023-04-04T15:27:20Z")

</div>

I need to know the time remaining in the Refresh Token expiration (absolute lifetime of a refresh\_token) for a user in mobile app.  
As login is giving me refresh token but not refresh token expiration time. Need to show login page if refresh token is expired.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 6, 2023, 7:55pm UTC](https://community.auth0.com/t/how-to-check-if-refresh-token-is-expired-in-mobile-app/104103/3 "2023-04-06T19:55:45Z")

</div>

Hi @neha.kumari2,

Welcome to the Auth0 Community!

Can you try using the refresh token in the background, then prompt for login when it returns an expired token error?

I think most of our SDKs will handle this for you if you don’t want to implement this behavior manually.

---

<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:** [August 23, 2023, 2:48pm UTC](https://community.auth0.com/t/how-to-check-if-refresh-token-is-expired-in-mobile-app/104103/4 "2023-08-23T14:48:43Z")

</div>

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