Organization Permissions on access token

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:


And when i log in using the organization id, i always got a json withtout the permissions:
image

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.

1 Like

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

1 Like

Glad that resolved it!

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