Auth0-js Management getUser returning 401 Invalid Token when using JWT idToken

Hi @rejon,

Welcome to the Auth0 Community Forum!

Thanks for reaching out. The id_token is not going to be used for access the management API.

I will also point you to this FAQ because it looks like you are trying to access the management API from a SPA which has some special limitations due to it’s exposed nature.

Please let me know if this helps and if you have any more questions.

Thanks,
Dan