Adding custom claim via post login action is not working

I have done same implementation as mentioned in below link Adding email to access token

I can see the email in moniotoring logs getting printed properly but in access token it is not getting populated.

Hi @Anup, Thanks for reaching out to Auth0 Community.

Are you passing the audience parameter in the authorize call as Auth0 API? If so, then the name of the claim needs to be a namespaced claim as highlighted in the document.

1 Like

Hey there!

As this topic is related to Actions and Rules & Hooks are being deprecated soon in favor of Actions, I’m excited to let you know about our next Ask me Anything session in the Forum on Thursday, January 18 with the Rules, Hooks and Actions team on Rules & Hooks and why Actions matter! Submit your questions in the thread above and our esteemed product experts will provide written answers on January 18. Find out more about Rules & Hooks and why Actions matter! Can’t wait to see you there!

Learn more here!