Skip to content
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

Unable to update Okta Default Brand's help_url #2189

Open
yuvaraj1997 opened this issue Jan 24, 2025 · 1 comment
Open

Unable to update Okta Default Brand's help_url #2189

yuvaraj1997 opened this issue Jan 24, 2025 · 1 comment
Labels
bug triaged Triaged into internal Jira

Comments

@yuvaraj1997
Copy link

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 other comments that do not add relevant new information or questions, 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

Affected Resource(s)

  • okta_customized_signin_page

Terraform Configuration Files

data "okta_brands" "brands" {

}

data "okta_default_signin_page" "default_signin_page" {
  for_each = { for brand in data.okta_brands.brands.brands : brand.id => brand }

  brand_id = each.value.id
}

resource "okta_customized_signin_page" "customized_signin_page" {
  for_each = data.okta_default_signin_page.default_signin_page

  brand_id       = each.value.brand_id
  widget_version = each.value.widget_version
  page_content   = each.value.page_content

  widget_customizations {
    widget_generation = each.value.widget_customizations.widget_generation
    help_url          = "https://changeme.com"
  }
}

Debug Output

Panic Output

Expected Behavior

Update help_url for all domains including the default domain.

Can this be done in the Admin UI?

Yes

Can this be done in the actual API call?

I don't know

Actual Behavior

Error: failed to update customized sign in page (401 Forbidden) due to cannot update the brand's default page_content.

Steps to Reproduce

  1. terraform apply

Important Factoids

None

References

None

  • #0000
@monde monde added bug triaged Triaged into internal Jira labels Jan 28, 2025
@monde
Copy link
Collaborator

monde commented Jan 28, 2025

I suspect the payload sent back to the API from the TF provider is off https://oktainc.atlassian.net/browse/OKTA-858193

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triaged Triaged into internal Jira
Projects
None yet
Development

No branches or pull requests

2 participants