# How create registration flow with otp

**URL:** <https://forum.keycloak.org/t/how-create-registration-flow-with-otp/12698>\
**Category:** Miscellanaeous\
**Created:** [December 20, 2021, 4:34am UTC](https://forum.keycloak.org/t/how-create-registration-flow-with-otp/12698 "2021-12-20T04:34:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![trucbiglabs](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/trucbiglabs/32/4477_2.png) [@trucbiglabs](https://forum.keycloak.org/u/trucbiglabs)\
**Post date:** [December 20, 2021, 4:34am UTC](https://forum.keycloak.org/t/how-create-registration-flow-with-otp/12698/1 "2021-12-20T04:34:38Z")

</div>

Hello everyone !  
I want create registration user form with otp. And otp will be send to mail confirm (not keycloak default google authenticator).

Please help me custom this flow !  
Thanks

---

<div class="post-metadata">

**Author:** ![semangard](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/semangard/32/1922_2.png) [@semangard](https://forum.keycloak.org/u/semangard)\
**Post date:** [December 20, 2021, 5:37am UTC](https://forum.keycloak.org/t/how-create-registration-flow-with-otp/12698/2 "2021-12-20T05:37:17Z")

</div>

Hello,  
You should have a look at this extension (for authN and hot registration … but could give you different ideas) : [keycloak-extension-playground/dynamic-email-code-auth-extension at master · thomasdarimont/keycloak-extension-playground · GitHub](https://github.com/thomasdarimont/keycloak-extension-playground/tree/master/dynamic-email-code-auth-extension)  
or  
[Files · master · Niroj Adhikary / keycloak-email-otp · GitLab](https://gitlab.com/niroj.adhikary/keycloak-email-otp/-/tree/master)

BTW the email confirmation required action could be considered as a similar OTP mechanism, no ?

Regards
