Confusion on /userinfo vs. /api/v2/users/{id} apis

Hey there @dean2 sorry for the delayed response here!

The {id} is equivalent to the sub claim in either an ID or access token.

It’s possible you are receiving an opaque access token if you aren’t passing an audience param in the /authorize request - The following FAQ(s) may be helpful:

https://community.auth0.com/t/why-is-my-access-token-not-a-jwt-opaque-token/31028

https://community.auth0.com/t/what-is-the-audience/71414

2 Likes