Getting access token with scope in python

Hi, I am following along the Python quickstart code. When I get the access token from auth0.authorize_access_token(), it does not contain information on the user’s roles and permissions. How can I get the access token with this information?

Found the answer:

I added the audience parameter in auth0.authorize_redirect() with my API audience as the value. The JWT token now contains information on the user’s permissions.

1 Like

Perfect! Glad you have figured it out and thanks for sharing that with the rest of community!

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