WE are trying to use the access token to get the user’s details in Auth Docs. We get the token by following the steps given.
Still, we are encountering 401 Error. Need the advice to move forward
WE are trying to use the access token to get the user’s details in Auth Docs. We get the token by following the steps given.
Still, we are encountering 401 Error. Need the advice to move forward
Hi @kunal2,
Welcome to the Auth0 Community!
I understand that you’re trying to use the Management API to get the user profile.
First, to use the Management API, you’ll need to obtain an access token. There are a couple of ways to do this, but the quickest way would be to navigate to your Auth0 Dashboard > Applications > APIs > Auth0 Management API and click on the API Explorer Tab.
Once there, and if you have already completed the setup, you’ll see a Token that you can copy and then use with the Management API. After doing so, you’ll be able to query to get the user profile.
I hope this helps!
Please let me know if you have any further questions.
Thank you.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.