Unable to access user IdP tokens

Hello,
I am having an issue using Auth0’s Management API.
The goal is to use Auth0 with a load balancer to authenticate users with GitHub and once authenticated, use the IdP token to get information about them such as their repo and organizations.

I’ve updated the Management API to authorize my application to a specific scope, for example read:users, however the access token I receive from the oauth/token endpoint omits this scope. I tried creating a custom API, however this makes the token have the incorrect audience. What’s the proper way to navigate this issue?

Hi @jkim,

Welcome to the Auth0 Community!

To assist you with this issue, could you please provide me the exact code and steps you took to get an access token for the Management API?

For now, I recommend reviewing our Get Management API Access Tokens for Production documentation.

I look forward to your update.

Thanks,
Rueben