How to use "Email Verification (using code)"

Auth0 says they have a “Email Verification (using code)” feature, but I can’t seem to get it to work.

The default “Email Verification ( using Link )” has a “Template Enabled” switch that controls whether the user gets an email with the “Magic Link”. (see screenshot below).

But when I switch the Email Template to “Email Verification (using code)” it does not have such a switch (see second screenshot further below).

It looks like maybe I need to enable something called “code-based email verification flow”.

But I can’t find any documentation on how to do this.

Can someone please provide a little guidance on how to use the Email Verification (using code) option which Auth0 teases as a feature we can use…???
.
.
.
Email Verification ( using Link )


.
.
.
Email Verification (using code)

Hi @geoff2 ,

Thank you for posting this topic on the Auth0 Community!

Sorry that the wording for this template is kind of confusing. Email verification with code does not have a “Template Enabled” switch and it isn’t intended for the regular email verification flow. It was added to handle the following use cases:

  1. In Adaptive MFA, when the user is not enrolled with an MFA factor
  2. Newly introduced email verification flows with Azure AD/ADFS

Here are two articles for your reference:

  1. Email Verification for Azure AD and ADFS
  2. Enable Adaptive MFA

Hope that helps!