# How to get Identities key in userinfo JWT

**URL:** <https://community.auth0.com/t/how-to-get-identities-key-in-userinfo-jwt/100281>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [February 12, 2023, 7:16am UTC](https://community.auth0.com/t/how-to-get-identities-key-in-userinfo-jwt/100281 "2023-02-12T07:16:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![james.morgan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morgan/32/42365_2.png) [@james.morgan](https://community.auth0.com/u/james.morgan)\
**Post date:** [February 12, 2023, 7:16am UTC](https://community.auth0.com/t/how-to-get-identities-key-in-userinfo-jwt/100281/1 "2023-02-12T07:16:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [February 13, 2023, 4:51pm UTC](https://community.auth0.com/t/how-to-get-identities-key-in-userinfo-jwt/100281/3 "2023-02-13T16:51:10Z")

</div>

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](https://auth0.com/docs/api/management/v2#!/Users/get_users_by_id).

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

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![james.morgan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morgan/32/42365_2.png) [@james.morgan](https://community.auth0.com/u/james.morgan)\
**Post date:** [February 14, 2023, 1:54am UTC](https://community.auth0.com/t/how-to-get-identities-key-in-userinfo-jwt/100281/4 "2023-02-14T01:54:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [February 14, 2023, 1:59am UTC](https://community.auth0.com/t/how-to-get-identities-key-in-userinfo-jwt/100281/5 "2023-02-14T01:59:24Z")

</div>

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:

- [Get Management API Access Tokens for Testing](https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-access-tokens-for-testing)
- [Get Management API Access Tokens for Production](https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-access-tokens-for-production)

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 28, 2023, 1:59am UTC](https://community.auth0.com/t/how-to-get-identities-key-in-userinfo-jwt/100281/6 "2023-02-28T01:59:33Z")

</div>

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