auth0 / terraform-provider-auth0

The Auth0 Terraform Provider is the official plugin for managing Auth0 tenant configuration through the Terraform tool.
https://registry.terraform.io/providers/auth0/auth0/latest/docs
Mozilla Public License 2.0
157 stars 73 forks source link

Add toggle for "Customize MFA Factors using Actions" #937

Closed ramorris3 closed 2 weeks ago

ramorris3 commented 3 months ago

Checklist

Describe the problem you'd like to have solved

I'm customizing MFA enrollment/challenge flows by setting policy to 'never', and then manually enabling the "Customize MFA Factors using Actions" toggle on the /security/mfa page of my Auth0 dashboard, per these instructions in the Auth0 docs.

I would love to be able to control the "Customize MFA Factors using Actions" toggle with the auth0_guardian resource

Describe the ideal solution

A boolean called something like customize_mfa_with_actions on the auth0_guardian resource schema. It could look something like this:

resource "auth0_guardian" "my_guardian" {
  policy                     = "never"
  customize_mfa_with_actions = true
  ...
}

Alternatives and current workarounds

Currently I work around this outside of terraform by manually toggling "Customize MFA Factors using Actions" on the /security/mfa page of my Auth0 dashboard

Additional context

Screenshot 2024-03-27 at 4 58 31 PM
hartimcwildfly commented 1 month ago

Hi @ramorris3 I had the same problem and I just found out that this can be set via the tenant resource with the field customize_mfa_in_postlogin_action So this issue can be closed.

ramorris3 commented 2 weeks ago

@hartimcwildfly great, thanks for pointing me to that!