# Adding user roles to access token

**URL:** <https://community.auth0.com/t/adding-user-roles-to-access-token/97373>\
**Category:** Get Help\
**Tags:** management-api, roles\
**Created:** [January 3, 2023, 9:10am UTC](https://community.auth0.com/t/adding-user-roles-to-access-token/97373 "2023-01-03T09:10:18Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [January 5, 2023, 1:13am UTC](https://community.auth0.com/t/adding-user-roles-to-access-token/97373/3 "2023-01-05T01:13:58Z")

</div>

Hey there @chris.tice welcome to the community!

This is a bit of a tricky use case - The following topic is more geared towards permissions, the same goes for roles as well:

> [@How to add user permissions to ID token](https://community.auth0.com/t/how-to-add-user-permissions-to-id-token/88714):
>
> Hey community. From our single-page application, we want to know the current user’s permission so we can control access to certain sections or buttons of our app. We’re using organizations. As you’re probably aware, permissions are assigned to roles. Users, in my understanding, can be assigned to roles within the context of organizations and can also be assigned to roles directly (outside the context of organizations). Because of this, we essentially need the union of permissions from (1) all t…

Hope this helps!

---

_[View the full topic](https://community.auth0.com/t/adding-user-roles-to-access-token/97373)._
