# How do I get User Metadata in the Login

**URL:** <https://community.auth0.com/t/how-do-i-get-user-metadata-in-the-login/71465>\
**Category:** Get Help\
**Created:** [October 17, 2021, 10:28pm UTC](https://community.auth0.com/t/how-do-i-get-user-metadata-in-the-login/71465 "2021-10-17T22:28:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Ale](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale/32/50860_2.png) [@Ale](https://community.auth0.com/u/Ale)\
**Post date:** [October 18, 2021, 12:55am UTC](https://community.auth0.com/t/how-do-i-get-user-metadata-in-the-login/71465/2 "2021-10-18T00:55:29Z")

</div>

Hey @solid,

The reason you didn’t receive the user’s metadata is because metadata is not a standard claim so it will not be included in ID Tokens by default.

To include it, you must write a Rule to copy `user_metadata` properties to the ID token. This is explained in detail here: [Add custom claims to a token](https://auth0.com/docs/configure/apis/scopes/sample-use-cases-scopes-and-claims#add-custom-claims-to-a-token). I hope this helps.

More information:

> **[Understand How Metadata Works in User Profiles](https://auth0.com/docs/manage-users/user-accounts/metadata)**
>
> Describes Auth0 user, application, and client metadata. Learn how you can use metadata to store information that does not originate from an identity provider.

> **[Sample Use Cases: Scopes and Claims](https://auth0.com/docs/get-started/apis/scopes/sample-use-cases-scopes-and-claims)**
>
> Learn how to use scopes and claims with applications and APIs.

---

_[View the full topic](https://community.auth0.com/t/how-do-i-get-user-metadata-in-the-login/71465)._
