-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Options not persisting in Terraform state for AD connections #870
Comments
I see the same issue, with both |
So as I understand correctly, any attempt to set the |
@willvedd, I'm unclear what you are asking above? What I can add (I work with @Mathematicaster) is that we were informed by Auth0 support that the Note that we are able to update that value using the Auth0 API directly but it fails using the terraform provider as described in the OP in case that was unclear. We were directed to the following documentation.
|
Hey folks, I'm actively looking into this now. @adamc00 can you confirm that enabling the |
@sergiught That's correct. A |
Thanks for confirming @Mathematicaster 👍🏻 I've added support for this field within the underling Go SDK we leverage for the API calls: auth0/go-auth0#308. Once that gets merged and released we can follow up with support within the provider as well. I'll circle back once I have an update. Draft PR as well within the provider: #874 |
Hey folks, this has been now fixed within https://github.com/auth0/terraform-provider-auth0/releases/tag/v1.1.0. |
Checklist
Description
Attempting to set the
disable_self_service_change_password
option totrue
for an Active Directory / LDAP connection does not work.Expectation
When removing the 'Forgot password' link by setting the
disable_self_service_change_password
option totrue
in an AD connection (as per the auth0/auth0 documentation), the 'Forgot password' link should no longer appear.Reproduction
and appropriately set environment variables (
AUTH0_DOMAIN
,AUTH0_API_TOKEN
)When executing
terraform apply
via the CLIThen this output is issued:
However, this does not have the intended effect of disabling the 'Forgot password' link and an inspection of the connection via the API reveals that the
disable_self_service_change_password
option has not been set:2a. Furthermore, when executing
terraform apply
via the CLI a second time3a. Then this output is issued:
and inspection via the API reveals that
disable_self_service_change_password
is still not set, but this time thebrute_force_protection
option is no longer explicitly set. Any successive attempts to runterraform apply
result in this plan:but no discernible difference in the connection.
Auth0 Terraform Provider version
v1.0.0
Terraform version
v1.6.2
The text was updated successfully, but these errors were encountered: