# Getting "Unsuccessful Refresh Token exchange, reused refresh token detected"

**URL:** <https://community.auth0.com/t/getting-unsuccessful-refresh-token-exchange-reused-refresh-token-detected/193951>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [October 31, 2025, 1:05am UTC](https://community.auth0.com/t/getting-unsuccessful-refresh-token-exchange-reused-refresh-token-detected/193951 "2025-10-31T01:05:42Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![johan.lindell](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johan.lindell/32/71466_2.png) [@johan.lindell](https://community.auth0.com/u/johan.lindell)\
**Post date:** [October 31, 2025, 1:05am UTC](https://community.auth0.com/t/getting-unsuccessful-refresh-token-exchange-reused-refresh-token-detected/193951/1 "2025-10-31T01:05:42Z")

</div>

We have some users seeing this, even though this is their only refresh attempt in surrounding couple of hours.

We use the auth0 hook without any surrounding logic or caching on our end:

const token = await useAuth0().getCredentials()

react-native-auth0 version: 5.0.1, iOS

Log id: 90020251031003016555919000000000000001223372092434150111 for one such instance

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [October 31, 2025, 7:41pm UTC](https://community.auth0.com/t/getting-unsuccessful-refresh-token-exchange-reused-refresh-token-detected/193951/3 "2025-10-31T19:41:41Z")

</div>

Hi @johan.lindell

Welcome back to the Community!

Just to double check, are you passing in the proper scopes (`offline_access`) in the authorize request?

Do you have Refresh Token Rotation enabled for your application?

Also, what are you current Refresh Token Maximum Lifetime settings? Could it be possible that the refresh token expired?

You mentioned that you have no caching on your application and that you are only calling the Auth0 hook, meaning that there are no refresh tokens stored inside the application or web cookies, right?

Looking forward to your reply!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![johan.lindell](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johan.lindell/32/71466_2.png) [@johan.lindell](https://community.auth0.com/u/johan.lindell)\
**Post date:** [October 31, 2025, 7:52pm UTC](https://community.auth0.com/t/getting-unsuccessful-refresh-token-exchange-reused-refresh-token-detected/193951/4 "2025-10-31T19:52:05Z")

</div>

We are currently not passing any scope, can you give me some pointers for the offline\_access you mentioned?

We have refresh token rotation enabled with a 20 second overlap. It’s not possible that the token is expired, because we have an expiry time on the order of months and this happens several times a day for the same user.

Correct, we are not caching it anywhere.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [October 31, 2025, 8:16pm UTC](https://community.auth0.com/t/getting-unsuccessful-refresh-token-exchange-reused-refresh-token-detected/193951/5 "2025-10-31T20:16:34Z")

</div>

Hi again!

> We are currently not passing any scope, can you give me some pointers for the offline\_access you mentioned?

Whenever you start authorization for your users, do you pass in the these additional authorization parameters as such:

```auto
await authorize(
        {
          scope: 'openid profile email offline_access',
          audience: 'YOUR_API_IDENTIFIER',
        },
      );

```

I would recommend to check inside the Auth0 Dashboard if you have the following:

- Allow Offline Access enabled under your application’s API
- The Refresh Token Grant is enabled for your application under → Advanced Settings → Grant Types

Have you tried by any chance to store the token using the credentials manager to see if there are any differences in the behaviour?

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![johan.lindell](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johan.lindell/32/71466_2.png) [@johan.lindell](https://community.auth0.com/u/johan.lindell)\
**Post date:** [October 31, 2025, 8:34pm UTC](https://community.auth0.com/t/getting-unsuccessful-refresh-token-exchange-reused-refresh-token-detected/193951/6 "2025-10-31T20:34:22Z")

</div>

Oh I see what you mean, yes, we pass offline\_access in our authorize call:

```  
const credentials = await authorize({  
audience,  
scope: “openid profile email offline\_access”,  
additionalParameters,  
})  
```

We have those settings enabled. I’m not sure what you mean by credentials manager, I prefer to just use the standard react-native hooks provided by the sdk.

---

<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:** [November 3, 2025, 10:49pm UTC](https://community.auth0.com/t/getting-unsuccessful-refresh-token-exchange-reused-refresh-token-detected/193951/7 "2025-11-03T22:49:02Z")

</div>

Hello @johan.lindell,

Could you please tell us if this issue is happening to an isolated user or multiples users and if you are able to reproduce this on your end ?

One possibility is that the refresh token was rotated but the new refresh token was not successfully stored. This could happen if the user closes the application during the transaction, there was a network issue or something similar.

Another reason could be that you are creating multiple versions of the _ **CredentialsManager** _  
( this would be the default example presented in the SDK as well - `const credentials = await auth0.credentialsManager.getCredentials();`), like from a computed property. The use of multiple instances is mentioned in the context of iOS as a potential cause of refresh token reuse.

This KB article - [Refresh Token Rotation: Automatic Reuse Detection Issue in iOS App](https://support.auth0.com/center/s/article/Refresh-token-rotation-Automatic-reuse-detection-issue-in-iOS-app) is the most appropriate in this case, so I would recommend checking this out.

Thank you,  
Remus

---

<div class="post-metadata">

**Author:** ![johan.lindell](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johan.lindell/32/71466_2.png) [@johan.lindell](https://community.auth0.com/u/johan.lindell)\
**Post date:** [November 4, 2025, 2:19am UTC](https://community.auth0.com/t/getting-unsuccessful-refresh-token-exchange-reused-refresh-token-detected/193951/8 "2025-11-04T02:19:57Z")

</div>

This happens to multiple users though we don’t have a way to reproduce.

It seems to happen mostly on Apple devices using both the react native and react SDKs from Auth 0.

I’m not exactly sure what code changes you are suggesting, we spent a significant effort ensuring we correctly access the auth0 hook on every calls following the rules of react after previous communications with auth0.

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [January 28, 2026, 4:45pm UTC](https://community.auth0.com/t/getting-unsuccessful-refresh-token-exchange-reused-refresh-token-detected/193951/10 "2026-01-28T16:45:34Z")

</div>

Hi again!

I am posting in regards to the most recent updates on the issue that you are experiencing and for future visibility inside the Community.

It appears that the SDK team were able to pinpoint the the issue and have opened a PR in order to tackle the unstable network. This can be viewed [here](https://github.com/auth0/react-native-auth0/pull/1432).

It is currently planned to release the changes for iOS and SPA applications only whereas for Android, once the changed are ready to be pushed, you will be able to update to the latest version without making any code changes.

I will be marking this reply as a solution and if necessary, I will post a final update.

Kind Regards,  
Nik

---

<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:** [February 11, 2026, 4:46pm UTC](https://community.auth0.com/t/getting-unsuccessful-refresh-token-exchange-reused-refresh-token-detected/193951/11 "2026-02-11T16:46:07Z")

</div>

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