# Not seeing app\_metadata in user object

**URL:** <https://community.auth0.com/t/not-seeing-app-metadata-in-user-object/170124>\
**Category:** Get Help\
**Tags:** sdks-quickstarts, auth0-react\
**Created:** [January 24, 2025, 4:50pm UTC](https://community.auth0.com/t/not-seeing-app-metadata-in-user-object/170124 "2025-01-24T16:50:20Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [January 27, 2025, 5:35pm UTC](https://community.auth0.com/t/not-seeing-app-metadata-in-user-object/170124/5 "2025-01-27T17:35:33Z")

</div>

Hi @johan.lindell

In order to retrieve the custom claims that you have set for your user, you will need to use the getIdTokenClaims() when you are populating the user’s profile after authentication.

```auto
const claims = await getIdTokenClaims();

```

This function is available whenever you are using the `useAuth0` hook for the React SDK.

You can review the following community post in regards to accessing [User Metadata in React](https://community.auth0.com/t/access-user-metadata-in-react/94766).  
You can also read more about the functions available in the React SDK in our [documentation](https://auth0.github.io/auth0-react/interfaces/Auth0ContextInterface.html#getIdTokenClaims).  
Basically, once you have set the app metadata using an action, it should be available in the user object:

```auto
const { user } = useAuth0();

```

Alternatively, you should be able to access it via the `loginWithRedirect()` function as explained in this [community post](https://community.auth0.com/t/metadata-in-react-js/114572).

If you have any extra questions on the matter or if the resources provided above were not useful in resolving the issue, feel free to leave another reply on the post.

Kind Regards,  
Nik

---

_[View the full topic](https://community.auth0.com/t/not-seeing-app-metadata-in-user-object/170124)._
