github okta/terraform-provider-okta v8.0.0

42 minutes ago

8.0.0 (Nov 23, 2026)

BREAKING CHANGES

  • okta_policy_device_assurance_android, okta_policy_device_assurance_chromeos, okta_policy_device_assurance_ios, okta_policy_device_assurance_macos, okta_policy_device_assurance_windows: Rewritten on Okta SDK v7 with a schema that follows the Device Assurance Policy API. Resource names are unchanged, but existing configurations must be updated: platform is now required ("ANDROID", "CHROMEOS", "IOS", "MACOS" or "WINDOWS"); screenlock_type is renamed to screen_lock_type and, like disk_encryption_type, is now a block with an include attribute; os_version is now a block with a minimum attribute; the flat tpsp_* attributes move under third_party_signal_providers.dtc without the tpsp_ prefix; created_date and last_update are no longer exposed on the resources. New optional attributes include display_remediation_mode, grace_period and (Windows only) os_version_constraints. See each resource's documentation for a migration guide. #2964 by aditya-okta
  • okta_device_assurance_policy (data source): Removed. Use the new per-platform data sources okta_policy_device_assurance_android, okta_policy_device_assurance_chromeos, okta_policy_device_assurance_ios, okta_policy_device_assurance_macos and okta_policy_device_assurance_windows instead. #2964 by aditya-okta
  • okta_policy_rule_profile_enrollment: Migrated from SDKv2 to Terraform Plugin Framework with a schema that follows the Policy Rule API. Most settings move under an actions { profile_enrollment { ... } } block (for example inline_hook_id becomes actions.profile_enrollment.pre_registration_inline_hooks[*].inline_hook_id and target_group_id becomes actions.profile_enrollment.target_group_ids). The provider no longer sends defaults for access, email_verification, progressive_profiling_action or profile_attributes.required. terraform destroy now deletes the rule in Okta instead of only removing it from state; use terraform state rm to stop managing the default rule. Existing rules should be brought under management with terraform import. See Migrating from the previous schema. Also adds ui_schema_id, pre_registration_inline_hooks with scopes, activation_requirements and profile_attributes. #2999 by dhiwakar-okta

FEATURES

  • Added new resources and data sources okta_collection, okta_collections_resource and okta_collections_assignment for managing Okta Identity Governance resource collections, their resources and their assignments to principals #3027 by aditya-okta
  • Added new resource and data source okta_authenticator_tac for managing the org's Temporary Access Code (TAC) authenticator #3017 by aditya-okta
  • Added new resources and data sources okta_behavior_anomalous_device, okta_behavior_anomalous_ip, okta_behavior_anomalous_location and okta_behavior_velocity for managing behavior detection rules by type #3024 by dhiwakar-okta
  • Added new resource and data source okta_device_posture_check for managing custom device posture checks used in device assurance policies #3014 by dhiwakar-okta
  • Added new data source okta_org for reading the org's general settings, such as company name, subdomain, status, address and support contact details #3035 by dhiwakar-okta

ENHANCEMENTS

  • okta_app_oauth: Inline jwks keys gain an optional use attribute (sig or enc, default sig), so encryption keys can be managed and signing keys keep their use across applies #3023 by pranav-okta
  • okta_app_saml (resource and data source): Added saml_assertion_lifetime_seconds #3000 by dhiwakar-okta
  • okta_policy_password, okta_policy_password_default: Added password_max_consecutive_repeating_characters and password_oel_statement (Limited GA, Identity Engine only) #3003 by dhiwakar-okta
  • okta_post_auth_session_policy_rule: Added optional priority argument #2992 by pranav-okta
  • Upgraded the Okta Identity Governance SDK to v2 #3026 by aditya-okta
  • Added support for okta-sdk-golang v8 and v9 #2993 by dhiwakar-okta, #3031 by pranav-okta
  • Bumped golang.org/x/crypto, golang.org/x/net, google.golang.org/grpc and github.com/go-jose/go-jose/v4 to resolve Dependabot security alerts #3004 by manmohan-shaw-okta

DEPRECATIONS

  • okta_behavior (resource and data source): Deprecated in favour of the typed okta_behavior_* resources and data sources, and will be removed in a future version. Existing state is not migrated automatically. #3024 by dhiwakar-okta

BUG FIXES

  • okta_group, okta_app_group_assignment, okta_app_user: Delete now treats a 404 as success, so destroy no longer fails when the object was already removed in Okta (for example when Okta cascade-deletes an app assignment). #2998 by pranav-okta
  • With private_key_jwt and DPoP-bound access tokens, applies under load no longer fail with empty access token or The DPoP proof JWT has already been used. Token requests now handle 429s, a fresh DPoP proof is built for every retry, and concurrent requests share a single token request. #3002 by pranav-okta
  • okta_app_oauth: Applying inline jwks no longer resets each key's use to null in Okta (which broke private_key_jwt client authentication), and refreshing or importing an app with an encryption key no longer fails with Invalid address to set. #3023 by pranav-okta
  • okta_app_oauth: The groups_claim warning is only shown when groups_claim is configured #2949 #3019 by dhiwakar-okta
  • okta_post_auth_session_policy_rule: Updates now send priority, so the rule's priority no longer increases on every apply. okta_session_violation_policy_rule: an unset priority is no longer sent as 0. #2992 by pranav-okta

Don't miss a new terraform-provider-okta release

NewReleases is sending notifications on new releases.