# Missing permission (scope) from the token if the user has more then 53

**URL:** <https://community.auth0.com/t/missing-permission-scope-from-the-token-if-the-user-has-more-then-53/42986>\
**Category:** Get Help\
**Tags:** jwt, scopes\
**Created:** [May 14, 2020, 8:29am UTC](https://community.auth0.com/t/missing-permission-scope-from-the-token-if-the-user-has-more-then-53/42986 "2020-05-14T08:29:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rczjns](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rczjns/32/21269_2.png) [@rczjns](https://community.auth0.com/u/rczjns)\
**Post date:** [May 14, 2020, 8:29am UTC](https://community.auth0.com/t/missing-permission-scope-from-the-token-if-the-user-has-more-then-53/42986/1 "2020-05-14T08:29:45Z")

</div>

Hi All,

I run into a weird issue. We have multiple microservices so we have several permission (scope) in our APIs. If a user get all of the permission (like a Super Admin) and I check the scopes in the token I’ll see only the first 53 scope. Scopes are in alphabetical order and I just get the first 53 scopes.. I’ve tried to add more and nothing changes (only 53). If I reduce the number of the scopes everything is fine.

Has anyone else run into this issue? Any idea about that? Or could someone confirm me this issue? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [May 19, 2020, 8:20pm UTC](https://community.auth0.com/t/missing-permission-scope-from-the-token-if-the-user-has-more-then-53/42986/3 "2020-05-19T20:20:34Z")

</div>

Hi @rczjns,

Welcome to the Community!

From what I can find, there shouldn’t be a limit on the number of scopes per se, but you may run into token size limit from the browser.

Take a look at this post that talks about a similar scenario:

> [@Limit for number of scopes per API](http://community.auth0.com/t/limit-for-number-of-scopes-per-api/20387/4):
>
> Hi @j.makishi. There’s no documented limit for the number of scopes that you can add to an API definition. If the scopes you are providing will be dynamically requested/added and you don’t need a consent for them, you can add a scope in a rule without it being previously defined for the API. In terms of the number of scopes that can actually be included in a token, you might be bound by the size of the JWT token when used in the Authorization header (the HTTP protocol doesn’t define any limit …

---

<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:** [July 13, 2020, 10:20pm UTC](https://community.auth0.com/t/missing-permission-scope-from-the-token-if-the-user-has-more-then-53/42986/4 "2020-07-13T22:20:07Z")

</div>

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