Skip to content

- Added FAILED_TO_VERIFY as ENUM option to DomainValidationStatus object.#512

Open
BinoyOza-okta wants to merge 1 commit intomasterfrom
OKTA-1128062
Open

- Added FAILED_TO_VERIFY as ENUM option to DomainValidationStatus object.#512
BinoyOza-okta wants to merge 1 commit intomasterfrom
OKTA-1128062

Conversation

@BinoyOza-okta
Copy link
Contributor

Add FAILED_TO_VERIFY Status to DomainValidationStatus Enum

Summary

This PR adds a new enum value FAILED_TO_VERIFY to the DomainValidationStatus model to support domain validation failure scenarios in the Okta SDK.

Changes

Modified Files

  • okta/models/domain_validation_status.py - Added FAILED_TO_VERIFY enum value
  • openapi/api.yaml - Updated OpenAPI specification to include the new enum value

Details

The DomainValidationStatus enum now includes the following values:

  • COMPLETED - Domain validation has been completed
  • IN_PROGRESS - Domain validation is currently in progress
  • NOT_STARTED - Domain validation has not yet started
  • VERIFIED - Domain has been verified
  • FAILED_TO_VERIFY - [NEW] Domain verification has failed

Motivation

This change allows the SDK to properly handle and represent scenarios where domain validation attempts have failed. This provides:

  • Better error handling capabilities for domain validation workflows
  • More granular status tracking for domain verification processes
  • Alignment with the Okta API's domain validation status states

Testing

  • Enum value properly defined in the Python model
  • OpenAPI specification updated to match
  • No breaking changes to existing enum values

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Commit: b318ea985935ef44772db484e7fdb995edda729e
Author: BinoyOza-okta ([email protected])
Date: March 16, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant