Unable to get all information of user

Hey there, I’m able to access the user info through endpoint /userinfo with its access token. But I’m only receiving user_id in the response. What I should be doing to get all user data, please let me know. Thanks!

Hi @nikhil.jaunjal,

Welcome to the Auth0 Community!

I understand that you are having trouble getting the user profile information of a user.

First, could you please clarify whether you’ve included the openid Scope when requesting the Access Token?

Note that the User Profile information included in the response depends on the Scopes requested. For example, a Scope of just openid returns less information than a Scope of openid profile email.

Looking forward to your response.

Thank you.

1 Like