Not able to add email in access token claim

Hi @sachinsharma123,

Welcome to the Auth0 Community!

Yes, the Passwordless flow will trigger the post-login action flow.

Firstly, please make sure that your namespace adheres to the namespace guidelines listed here.

Then please refer to this knowledge solution for an example of adding custom claims to tokens.

Once that’s done, you can verify that it works by logging in and decoding your access token on jwt.io to see the payload containing the email custom claim.

Let me know how this goes for you.

Cheers,
Rueben

1 Like