How to get Identities key in userinfo JWT

Hello,

I am using react-native-auth0 and wondering how to get the identities array in the userinfo, as I would like to check for connected social connections.

Hi @james.morgan,

Welcome to the Auth0 Community!

Unfortunately, the /userinfo endpoint does not return the identities array, as you have found.

To get the identities array, you must use Management API’s Get a user endpoint.

If you have any further questions, please feel free to reach out.

Thanks,
Rueben

Hey @rueben.tiow

How do I access this api using my access token I get from react native auth0. I’ve tried using it to access the api however it says it’s not authorised

Hi @james.morgan,

Thank you for your response.

You will need to use an Access Token for the Management API.

I recommend checking out the following resources regarding getting a Management API access token:

Thanks,
Rueben

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.