# Scopes read:current\_user update:current\_user\_identities not granted

**URL:** <https://community.auth0.com/t/scopes-read-current-user-update-current-user-identities-not-granted/104098>\
**Category:** Get Help\
**Tags:** grants, management-api\
**Created:** [April 4, 2023, 1:26pm UTC](https://community.auth0.com/t/scopes-read-current-user-update-current-user-identities-not-granted/104098 "2023-04-04T13:26:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafael.rodriguez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rafael.rodriguez/32/34751_2.png) [@rafael.rodriguez](https://community.auth0.com/u/rafael.rodriguez)\
**Post date:** [April 4, 2023, 1:26pm UTC](https://community.auth0.com/t/scopes-read-current-user-update-current-user-identities-not-granted/104098/1 "2023-04-04T13:26:32Z")

</div>

I am using react native and specifying the scopes in the authorize call like this:

```auto
await authorize({
          ...
          scope: 'openid profile email offline_access read:current_user update:current_user_identities'
        }); 

```

The returned idToken has every scope except of the last two. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![peter.fernandez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/peter.fernandez/32/45477_2.png) [@peter.fernandez](https://community.auth0.com/u/peter.fernandez)\
**Post date:** [April 4, 2023, 4:16pm UTC](https://community.auth0.com/t/scopes-read-current-user-update-current-user-identities-not-granted/104098/2 "2023-04-04T16:16:43Z")

</div>

👋 @rafael.rodriguez 🙂

So it sounds like you’re trying to get a token in order to call the Auth0 Management API from a SPA context (see [here](https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-tokens-for-single-page-applications) for more details). Correct? Tokens used for calling the Auth0 Management API are _Access Tokens_, so you will also need to specify the Auth0 Management API as the `audience` in the call to `authorise`; `read:current_user` and `update:current_user_identities` are scopes typically returned as part of the _Access Token_, not the _ID Token_.

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:** [April 19, 2023, 4:12pm UTC](https://community.auth0.com/t/scopes-read-current-user-update-current-user-identities-not-granted/104098/3 "2023-04-19T16:12:04Z")

</div>

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