# Expired Refresh Tokens in mobile apps

**URL:** <https://community.auth0.com/t/expired-refresh-tokens-in-mobile-apps/92329>\
**Category:** Get Help\
**Tags:** refresh-token\
**Created:** [October 13, 2022, 12:52pm UTC](https://community.auth0.com/t/expired-refresh-tokens-in-mobile-apps/92329 "2022-10-13T12:52:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Izil](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Izil](https://community.auth0.com/u/Izil)\
**Post date:** [October 13, 2022, 12:52pm UTC](https://community.auth0.com/t/expired-refresh-tokens-in-mobile-apps/92329/1 "2022-10-13T12:52:18Z")

</div>

Please include the following information in your post:

- Which SDK this is regarding: Auth0.Android
- SDK Version: 2.8.0  
Hello,

How should mobile apps check if a refresh token has expired? Is it managed by the auth0 sdk?  
Any answer would be appreciated.

---

<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:** [October 15, 2022, 12:21am UTC](https://community.auth0.com/t/expired-refresh-tokens-in-mobile-apps/92329/3 "2022-10-15T00:21:25Z")

</div>

Hey there @Izil welcome to the community!

> [@Izil](#):
>
> How should mobile apps check if a refresh token has expired? Is it managed by the auth0 sdk?

This is managed by the SDK [CredentialsManager](https://github.com/auth0/Auth0.Android#credentials-manager) - You can adjust the lifetime at the app level and we highly recommend using refresh token rotation. Basically, if a refresh token is not present (revoked) or expired, the SDK would just require the user to login again.

Some further reading 📚

> **[What Are Refresh Tokens and How to Use Them Securely](https://auth0.com/blog/refresh-tokens-what-are-they-and-when-to-use-them/)**
>
> Learn about refresh tokens and how they help developers balance security and usability in their applications.

> **[Refresh Tokens](https://auth0.com/docs/secure/tokens/refresh-tokens)**
>
> Describes how refresh tokens work to allow the application to ask Auth0 to issue a new access token or ID token without having to re-authenticate the user.

Hope this helps!

---

<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 29, 2022, 12:21am UTC](https://community.auth0.com/t/expired-refresh-tokens-in-mobile-apps/92329/4 "2022-10-29T00:21:56Z")

</div>

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