okta / terraform-provider-okta

A Terraform provider to manage Okta resources, enabling infrastructure-as-code provisioning and management of users, groups, applications, and other Okta objects.
https://registry.terraform.io/providers/okta/okta
Mozilla Public License 2.0
253 stars 203 forks source link

changing `pkce_required` from true to false does no affect existing applications #1944

Open notdodo opened 5 months ago

notdodo commented 5 months ago

Community Note

Terraform Version

v1.7.5

Affected Resource(s)

Expected Behavior

Changing pkce_required from True to False when the application exists the setting is changed

Can this be done in the Admin UI?

Yes

Can this be done in the actual API call?

I don't know

Actual Behavior

Steps to Reproduce

  1. create a new OIDC App without pcke_required (the provider automatically set it to true)
  2. PKCE is enabled image
  3. Change it to False from terraform
  4. no diffs are shown and no changes are performed
duytiennguyen-okta commented 5 months ago

OKTA internal reference https://oktainc.atlassian.net/browse/OKTA-712704