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 206 forks source link

Add DPoP flag on Oauth apps #2028

Open clementdenis opened 3 months ago

clementdenis commented 3 months ago

Community Note

Description

The Okta Terraform provider should support the dpop_bound_access_tokens flag on okta_app_oauth resources. It should default to false if omitted (which is the current behavior of the API).

New or Affected Resource(s)

Potential Terraform Configuration

resource "okta_app_oauth" "example" {
  label          = "example"
  type           = "web"
  grant_types    = ["authorization_code"]
  redirect_uris  = ["https://example.com/"]
  response_types = ["code"]
  dpop_bound_access_tokens = true
}

References

duytiennguyen-okta commented 3 months ago

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