-
-
Notifications
You must be signed in to change notification settings - Fork 149
Can't set disable_clickjack_protection_headers = false #160
Comments
Hi @garthk, thank you for submitting this issue. As we've solved the previous bugs with zero values, unfortunately nested values inside maps still exhibit the bug. I've added a test case to the tenant, so we can figure out a fix for it soon. |
Hello @alexkappa.
I'm able to run |
I've got this error whether specifying or not specifying the flag in the tenant settings (since it gets passed by default in the PATCH). It seems to occur on my Auth0 enterprise tenants, but not those provisioned in the public cloud instances. Do all flags need to be sent as defaults during an update-in-place? From my testing with the API this flags object seems to support partial updates without blowing away the original object. |
Hi @vbabitskiy 👋 Could you provide the terraform config you're using that generates the 400 request? Thanks, |
Having the same issue trying, not even applying the flag, just trying to set sandbox_version to 12, see TF below:
Response: Did check that the application has the update:tenant_settings permission. Not using latest provider atm. though Terraform 0.12.24 |
Upvoted this issue already, but I wanted to add some additional color. We're also an enterprise customer and are seeing this I investigated the behavior of the Auth0
Also verified that the application has the I think this provider should not send default values for these flags unless the provider consumer has explicitly declared them in the |
Thank you to everyone for the detailed information on this issue. I'll be closing this down in favor of #513 as that will likely fix this too. We'll be working on fixing this very soon. |
Community Note
Terraform Version
Terraform v0.12.19
terraform-provider-auth0
at f3bab1eAffected Resource(s)
auth0_tenant
Terraform Configuration Files
Debug Output
Expected Behavior
disable_clickjack_protection_headers
gets set tofalse
Actual Behavior
disable_clickjack_protection_headers = false
every timesapi
with description “Update tenant settings”, in whichdetails.request.body.flags
setsenable_custom_domain_in_emails = true
andenable_public_signup_user_exists_error = true
despite the plan not needing either to change, and doesn't containdisable_clickjack_protection_headers = false
terraform state pull
shows the flags in the state as:I note the
enable_custom_domain_in_emails
andenable_public_signup_user_exists_error
flags you're telling Auth0 to set aren't present in the state.Steps to Reproduce
terraform apply
Important Factoids
None of which I'm aware.
References
None of which I'm aware.
The text was updated successfully, but these errors were encountered: