# Why am I getting Missing Refresh Token

**URL:** <https://community.auth0.com/t/why-am-i-getting-missing-refresh-token/185045>\
**Category:** Get Help\
**Tags:** classic-universal-login-experience, login-experience\
**Created:** [April 5, 2025, 3:21am UTC](https://community.auth0.com/t/why-am-i-getting-missing-refresh-token/185045 "2025-04-05T03:21:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jackiegleason](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jackiegleason/32/8119_2.png) [@jackiegleason](https://community.auth0.com/u/jackiegleason)\
**Post date:** [April 5, 2025, 3:21am UTC](https://community.auth0.com/t/why-am-i-getting-missing-refresh-token/185045/1 "2025-04-05T03:21:15Z")

</div>

I am trying to do the following

```auto
      <Auth0Provider
            domain={config.auth.domain}
            clientId={config.auth.clientId}
            useRefreshTokens={true}
            cacheLocation={"localstorage"}
            authorizationParams={{
                redirect_uri: window.location.origin,
                audience: config.auth.audience,
                scope: config.auth.scope
            }}
        >

       

```

But when I run the app I am getting

```auto
Error fetching token: Error: Missing Refresh Token (audience: 'https://thejackiegleason.com', scope: 'openid profile email offline_access')
    React 13
    Oj token.mjs:6
    start xstate-actors.esm.js:787
    start raise-c17ec2bc.esm.js:833
    start xstate.esm.js:493
    start xstate.esm.js:491

```

How would I go about debugging?

---

<div class="post-metadata">

**Author:** ![jackiegleason](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jackiegleason/32/8119_2.png) [@jackiegleason](https://community.auth0.com/u/jackiegleason)\
**Post date:** [April 5, 2025, 3:24am UTC](https://community.auth0.com/t/why-am-i-getting-missing-refresh-token/185045/2 "2025-04-05T03:24:36Z")

</div>

![Screenshot 2025-04-04 at 11.23.57 PM](https://global.discourse-cdn.com/auth0/original/3X/f/a/fa12a8476a5392d2e72494a3ef60ba19e394096a.png)  
The config looks correct

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [April 7, 2025, 1:56pm UTC](https://community.auth0.com/t/why-am-i-getting-missing-refresh-token/185045/4 "2025-04-07T13:56:54Z")

</div>

Hi @jackiegleason,

The offline\_access grant seems to be missing. In order to receive refresh tokens you’ll need to go to your app \> Settings \> Advanced settings \> Grant Types and enable “Refresh Token”

 ![Screenshot 2025-04-07 at 16.51.20](https://global.discourse-cdn.com/auth0/original/3X/e/a/eaa1475b2f95c0f9460f9f819ad1e153cca6450c.png)

If you have any other questions feel free to reach out!

Have a good one,  
Vlad

---

<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:** [April 21, 2025, 1:56pm UTC](https://community.auth0.com/t/why-am-i-getting-missing-refresh-token/185045/5 "2025-04-21T13:56:57Z")

</div>

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