Auth0 Home Blog Docs

Social Connection - getting the user profile


I’m trying to use a login with Twitter/Google using Auth0 at the moment and I’m having trouble getting the expected response.

I haven’t found a clear indication on how to call the authorization endpoint, so I’ve been using this:

However, the response doesn’t seem to be what I’m looking for.

I am hoping to get the output presented when “trying” the auth on the page (as it says “This is the user profile the application will receive:”). Am I missing something?

Edit: furthermore, I want to access the IdP’s api (as described here:, but the access token I extract from the user (manually, because as mentioned above, I cannot get the “sub” value of a user) doesn’t seem to work - Twitter is returning 89 Invalid/expired token.

Thank you