# How to implement OTP based email verification upon user registration

**URL:** <https://community.auth0.com/t/how-to-implement-otp-based-email-verification-upon-user-registration/37130>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [January 30, 2020, 9:44pm UTC](https://community.auth0.com/t/how-to-implement-otp-based-email-verification-upon-user-registration/37130 "2020-01-30T21:44:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pan.subramanian](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pan.subramanian/32/12809_2.png) [@pan.subramanian](https://community.auth0.com/u/pan.subramanian)\
**Post date:** [January 30, 2020, 9:44pm UTC](https://community.auth0.com/t/how-to-implement-otp-based-email-verification-upon-user-registration/37130/1 "2020-01-30T21:44:13Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 1, 2020, 5:20am UTC](https://community.auth0.com/t/how-to-implement-otp-based-email-verification-upon-user-registration/37130/3 "2020-02-01T05:20:28Z")

</div>

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](https://auth0.com/docs/email/templates).

Mark

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 16, 2020, 5:20am UTC](https://community.auth0.com/t/how-to-implement-otp-based-email-verification-upon-user-registration/37130/4 "2020-02-16T05:20:30Z")

</div>

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