# Organization Permissions on access token

**URL:** <https://community.auth0.com/t/organization-permissions-on-access-token/68362>\
**Category:** JWT.io\
**Tags:** organizations, jwt, login, auth0\
**Created:** [August 22, 2021, 5:59pm UTC](https://community.auth0.com/t/organization-permissions-on-access-token/68362 "2021-08-22T17:59:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![danillo.mendonca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/danillo.mendonca/32/26565_2.png) [@danillo.mendonca](https://community.auth0.com/u/danillo.mendonca)\
**Post date:** [August 22, 2021, 5:59pm UTC](https://community.auth0.com/t/organization-permissions-on-access-token/68362/1 "2021-08-22T17:59:07Z")

</div>

Hello,

I want to get the permissions for the organization that was logged in inside the access token but its not working.

Here’s some screenshots;

I have 2 organizations and they both have the same member:

But with different permissions:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/5/1/51e554a674b0930d138f0fbaaa5e98b1bd410ec2.png)  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/4/e46a9fd82d66a0618375f8f92e9c4f9c4a101c9b.png)

And when i log in using the organization id, i always got a json withtout the permissions:  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/f/5/f593c3a25b8b45a47aefefde510e86d2b44f0398.png)

---

<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:** [August 23, 2021, 8:47pm UTC](https://community.auth0.com/t/organization-permissions-on-access-token/68362/3 "2021-08-23T20:47:33Z")

</div>

Hi @danillo.mendonca,

Welcome to the Auth0 Community!

Are your permissions associated with a specific API? You will need to pass the API identifier of that API as the `audience` parameter when you are requesting the token. This should return any permissions the user has for that API.

---

<div class="post-metadata">

**Author:** ![danillo.mendonca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/danillo.mendonca/32/26565_2.png) [@danillo.mendonca](https://community.auth0.com/u/danillo.mendonca)\
**Post date:** [August 23, 2021, 9:17pm UTC](https://community.auth0.com/t/organization-permissions-on-access-token/68362/4 "2021-08-23T21:17:42Z")

</div>

Thank you Dan, that worked, i didnt know that the API was needed for that

---

<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:** [August 24, 2021, 9:55pm UTC](https://community.auth0.com/t/organization-permissions-on-access-token/68362/5 "2021-08-24T21:55:08Z")

</div>

Glad that resolved it!

---

<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:** [September 8, 2021, 9:55pm UTC](https://community.auth0.com/t/organization-permissions-on-access-token/68362/6 "2021-09-08T21:55:21Z")

</div>

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