Auth0 Home Blog Docs

How to implement OTP based email verification upon user registration

We have a single page app (vue js), where users will be going through a wizard to fill required information and in the final step (before they submit) we would like to give an user option to signup.

Hence we would like to implement Auth0 to send a OTP like Verification Code in the Verification email instead of the link, when a new user signs up.

This way we can verify the email (by asking the user to input the code in the UI) and resume the application process.

Has anyone implemented a similar use case using Auth0?

Hello @pan.subramanian,

Welcome to the Auth0 Community!

You might be able to do this by generating the code, storing it in the user’s app_metadata, and then including the code in the Verification or Welcome email templates using Liquid.

Mark

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