Auth0 Home Blog Docs

Store email on jwt on login

jwt
auth0
login

#1

Hi,

I have a scenario where a user can have many emails, stored in the user_metadata, in one account. Depending on which email is used will depend on what they can do in the application. Is there a way to write a custom to rule to store the email in the jwt when they login?