Access Token Rejected When Calling Auth0 APIs

Problem Statement

We received a valid access token. But when calling the Auth0 endpoint using the access token with correct scopes, we received a 401 error.


Please check the following items:

  1. send the API request with the correct domain where the token was obtained.

  2. the audience for the token and the targeted endpoint should be the same.

  3. the scopes in the access token are sufficient for the endpoint being targeted.