Assign Role afte email verification

Hey there

for our application we need to set a default role to every user after he verifies his email. I already have an post login action in place which denies login if the user has not verified his email.

Is there a way to accomplish this with actions?

Thank you very much for your help!

Hi @kenny.maurer,

Welcome to the Auth0 Community!

You should be able to add a role to the user using the node-auth0 module in a post-login action. You can use your existing Action and add the role if the user is verified. If you need some help constructing the rule let me know and I’ll be happy to help.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.