Terraform Configuration for Toggling MFA Factor List during Enrollment

Overview

This article provides the Terraform configuration that will toggle the options that let users choose which Multi-Factor Authentication (MFA) factor to use on enrollment.

Applies To

  • Terraform
  • Multi-Factor Authentication (MFA)
  • Enrollment

Solution

The following flag can be found in Terraform and should be configured like the example below: flags.mfa_show_factor_list_on_enrollment

resource "auth0_tenant" "my_tenant" {
 ...
 flags {
   ...
   mfa_show_factor_list_on_enrollment  = true
   ...
 }
 ...
}

See the Terraform Documentation for more details.