# Where is the refresh token stored in an Android React Native application? Is it stored securely and/or encrypted?

**URL:** <https://community.auth0.com/t/where-is-the-refresh-token-stored-in-an-android-react-native-application-is-it-stored-securely-and-or-encrypted/135723>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [June 5, 2024, 3:17pm UTC](https://community.auth0.com/t/where-is-the-refresh-token-stored-in-an-android-react-native-application-is-it-stored-securely-and-or-encrypted/135723 "2024-06-05T15:17:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BSK](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bsk/32/49977_2.png) [@BSK](https://community.auth0.com/u/BSK)\
**Post date:** [June 5, 2024, 3:17pm UTC](https://community.auth0.com/t/where-is-the-refresh-token-stored-in-an-android-react-native-application-is-it-stored-securely-and-or-encrypted/135723/1 "2024-06-05T15:17:41Z")

</div>

I’m trying to figure out where is the refresh token stored in an Android React Native application, and if it is stored securely and/or encrypted.

Also if it is not stored securely, is there any way to change how/where it is stored in order to store it in an encrypted storage?

---

<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:** [June 5, 2024, 5:10pm UTC](https://community.auth0.com/t/where-is-the-refresh-token-stored-in-an-android-react-native-application-is-it-stored-securely-and-or-encrypted/135723/3 "2024-06-05T17:10:28Z")

</div>

Hey there @BSK !

The `CredentialsManager` class is designed specifically for secure token storage, including refresh tokens:

> **[GitHub - auth0/react-native-auth0: React Native toolkit for Auth0 API](https://github.com/auth0/react-native-auth0?tab=readme-ov-file#credentials-manager)**
>
> React Native toolkit for Auth0 API. Contribute to auth0/react-native-auth0 development by creating an account on GitHub.

---

<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:** [June 19, 2024, 5:11pm UTC](https://community.auth0.com/t/where-is-the-refresh-token-stored-in-an-android-react-native-application-is-it-stored-securely-and-or-encrypted/135723/4 "2024-06-19T17:11:18Z")

</div>

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