How to add custom data to a user according to his email

Hi @Insighting,

Yes, you can use user_metadata or app_metadata to add information to the user’s profile.

In order to add the data to the user after they log in you should use a post login action. You can add the data as a custom claim. To set custom claims in actions you can use the following methods:

api.idToken.setCustomClaim
api.accessToken.setCustomClaim

Let me know if you have any questions.