# Scopes vs API permissions

**URL:** <https://community.auth0.com/t/scopes-vs-api-permissions/103931>\
**Category:** Get Help\
**Tags:** security-compliance, security-question-concern\
**Created:** [April 1, 2023, 2:10pm UTC](https://community.auth0.com/t/scopes-vs-api-permissions/103931 "2023-04-01T14:10:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jflebeau](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jflebeau/32/45984_2.png) [@jflebeau](https://community.auth0.com/u/jflebeau)\
**Post date:** [April 1, 2023, 2:10pm UTC](https://community.auth0.com/t/scopes-vs-api-permissions/103931/1 "2023-04-01T14:10:03Z")

</div>

Hi, with those settings enabled for an API:

 ![Screenshot from 2023-04-01 09-56-43](https://global.discourse-cdn.com/auth0/original/3X/9/1/915fca871bee4aa3d502efaa23c935661e214cbc.png)

In the backend, I get all the user’s permissions in the access token (_permissions_ claim), is there any security issues with this approach? I understand that with he recommended way, i.e. adding the scopes on the client side so that you get intersection of the client-side scopes and API permissions in the _scope_ claim of the access token, you don’t give permissions that are not requested, but I don’t see anything critical about it, I am missing something?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [April 6, 2023, 11:37pm UTC](https://community.auth0.com/t/scopes-vs-api-permissions/103931/3 "2023-04-06T23:37:27Z")

</div>

Hi there @jflebeau!

Put simply, permissions (privileges when assigned to a user) relate to the actions a user can take for a given resource whereas scopes, generally speaking, are requested by the client (app) to act on behalf of the user. Adding permissions to the access token via RBAC is an acceptable approach that doesn’t introduce any security issue. The following blog post and accompanying video is very helpful in outlining the differences:

> **[Permissions, Privileges, and Scopes](https://auth0.com/blog/permissions-privileges-and-scopes/#A-Complicated-Relationship)**
>
> What is the difference between permissions, privileges, and scopes in the authorization context? Let's find out together.

Hope this helps to clarify!

---

<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 25, 2023, 10:45pm UTC](https://community.auth0.com/t/scopes-vs-api-permissions/103931/4 "2023-04-25T22:45:27Z")

</div>

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