Auth0 Home Blog Docs

Missing jwt custom claim after sign up



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?



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?