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.

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