Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

Can't set disable_clickjack_protection_headers = false #160

@garthk

Description

@garthk

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

Terraform v0.12.19
terraform-provider-auth0 at f3bab1e

Affected Resource(s)

  • auth0_tenant

Terraform Configuration Files

resource "auth0_tenant" "default" {
  flags {
    disable_clickjack_protection_headers = false
  }
}

Debug Output

Expected Behavior

  • disable_clickjack_protection_headers gets set to false

Actual Behavior

  • Terraform's plan says it'll set disable_clickjack_protection_headers = false every time
  • If I check the clickjacking protection settings, “Disable clickjacking protection for Classic Universal Login” is still enabled
  • Auth0's logs show a sapi with description “Update tenant settings”, in which details.request.body.flags sets enable_custom_domain_in_emails = true and enable_public_signup_user_exists_error = true despite the plan not needing either to change, and doesn't contain disable_clickjack_protection_headers = false
  • terraform state pull shows the flags in the state as:
{
  "change_pwd_flow_v1": false,
  "disable_clickjack_protection_headers": true,
  "enable_apis_section": false,
  "enable_client_connections": false,
  "enable_custom_domain_in_emails": true,
  "enable_dynamic_client_registration": false,
  "enable_legacy_logs_search_v2": false,
  "enable_pipeline2": false,
  "enable_public_signup_user_exists_error": true,
  "universal_login": false
}

I note the enable_custom_domain_in_emails and enable_public_signup_user_exists_error flags you're telling Auth0 to set aren't present in the state.

Steps to Reproduce

  1. terraform apply

Important Factoids

None of which I'm aware.

References

None of which I'm aware.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions