# Scops and token is not included in the access token

**URL:** <https://community.auth0.com/t/scops-and-token-is-not-included-in-the-access-token/103539>\
**Category:** Get Help\
**Tags:** tenant-management, support-center\
**Created:** [March 28, 2023, 2:44pm UTC](https://community.auth0.com/t/scops-and-token-is-not-included-in-the-access-token/103539 "2023-03-28T14:44:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/amer/32/45850_2.png) [@Amer](https://community.auth0.com/u/Amer)\
**Post date:** [March 28, 2023, 2:44pm UTC](https://community.auth0.com/t/scops-and-token-is-not-included-in-the-access-token/103539/1 "2023-03-28T14:44:32Z")

</div>

Good day all am trying to get the scop in the access token, but the token keep generating without any scops.  
I follow the documentation below:

> **[Sample Use Cases: Scopes and Claims](https://auth0.com/docs/get-started/apis/scopes/sample-use-cases-scopes-and-claims)**
>
> Learn how to use scopes and claims with applications and APIs.

can you help

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [March 28, 2023, 4:54pm UTC](https://community.auth0.com/t/scops-and-token-is-not-included-in-the-access-token/103539/3 "2023-03-28T16:54:33Z")

</div>

Hi @Amer,

Welcome to the Auth0 Community!

> [@Amer](#):
>
> Good day all am trying to get the scop in the access token, but the token keep generating without any scops.

This can happen when the `scope` parameter was not included in the login request.

In this situation, you will need to specify the `scope` parameter in the login request, which should look something like the following:

```auto
https://{yourDomain}/authorize?
    response_type=code&
    client_id={yourClientId}&
    redirect_uri={https://yourApp/callback}&
    scope={scope}&
    state={state}

```

After doing so, the scopes will be included in the Access Token.

Please reach out again if you have any additional questions.

Thanks,  
Rueben

---

<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:** [March 28, 2023, 6:19pm UTC](https://community.auth0.com/t/scops-and-token-is-not-included-in-the-access-token/103539/4 "2023-03-28T18:19:05Z")

</div>

🤔 If you’re wanting to specify scopes for an Access Token then you will typically also need to specify an `audience` parameter (see [here](https://auth0.com/docs/secure/tokens/access-tokens/get-access-tokens) for more details). By default, when no `audience` has been specified - and no _default_ audience has been configured at the tenant level - then an access token is returned which is intended for the `/userinfo` endpoint only, and contains only the `openid` scope (as detailed [here](https://auth0.com/docs/secure/tokens/access-tokens/get-access-tokens#control-access-token-audience)).

---

<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 11, 2023, 6:19pm UTC](https://community.auth0.com/t/scops-and-token-is-not-included-in-the-access-token/103539/5 "2023-04-11T18:19:37Z")

</div>

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