I’m trying achieve a setup where users create an account using email/password and then verify their email address using a one-time password. Using a custom UI.
My initial approach was to hit the /dbconnections/signup
route passing connection: email
. On successful account creation, I would hit /passwordless/start
passing connection: email
. And then finally authenticate the user with their OTP, which sets the user record’s email_verified
property to true.
What I found when trying to set this up is that upon creation of a user via the /signup
route, auth0 automatically sends an email verification / authentication link to the email address used.
Is there any way to configure this so that it sends a code instead of a link?