# Missing jwt custom claim after sign up

**URL:** <https://community.auth0.com/t/missing-jwt-custom-claim-after-sign-up/11245>\
**Category:** JWT.io\
**Created:** [May 1, 2018, 6:05am UTC](https://community.auth0.com/t/missing-jwt-custom-claim-after-sign-up/11245 "2018-05-01T06:05:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.hong](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david.hong/32/10289_2.png) [@david.hong](https://community.auth0.com/u/david.hong)\
**Post date:** [May 1, 2018, 6:05am UTC](https://community.auth0.com/t/missing-jwt-custom-claim-after-sign-up/11245/1 "2018-05-01T06:05:15Z")

</div>

Hi,

I have setup rule to assign custom attribute to user\_metadata via auth0.user.updateUsermetadata and assign custom claim on id\_token. (Both database connection + social login)

Custom claims was return for login token but not first token return after user sign up.

May I know it is this expected behavior?

Thanks

---

<div class="post-metadata">

**Author:** ![sgmeyer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgmeyer/32/3387_2.png) [@sgmeyer](https://community.auth0.com/u/sgmeyer)\
**Post date:** [May 1, 2018, 2:27pm UTC](https://community.auth0.com/t/missing-jwt-custom-claim-after-sign-up/11245/2 "2018-05-01T14:27:25Z")

</div>

Hi David,

This doesn’t sound like expected behavior. When augmenting a token via a rule that should always run for first and all subsequent logins. Can you share the rule used to store the metadata and augment the token?

Shawn

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 12:53pm UTC](https://community.auth0.com/t/missing-jwt-custom-claim-after-sign-up/11245/3 "2019-07-25T12:53:58Z")

</div>


