Skip to content

Add support for new government and cloud TLD domains - #111

Merged
aniket-okta merged 1 commit into
masterfrom
OKTA-504333
Sep 29, 2025
Merged

Add support for new government and cloud TLD domains#111
aniket-okta merged 1 commit into
masterfrom
OKTA-504333

Conversation

@aniket-okta

Copy link
Copy Markdown
Contributor

Summary

This PR adds support for new Okta government and cloud top-level domains (TLDs) as requested in OKTA-504333.

Changes Made

  • Domain Validation: Extended OktaConfigValidator to support the following new TLDs:

    • trex-govcloud.com
    • okta-gov.com
    • okta.mil
    • okta-miltest.com
  • Security: Added proper admin domain validation for all new TLDs (prevents -admin variants)

  • Testing: Added comprehensive unit tests to verify new domain support and validation

Backward Compatibility

✅ All existing domains continue to work as before
✅ No breaking changes to public API
✅ Existing client applications will continue to function without modification

Files Modified

  • Okta.Xamarin/Okta.Xamarin/OktaConfigValidator.cs
  • Okta.Xamarin/Tests/Okta.Xamarin.Test/OktaConfigShould.cs

Resolves OKTA-504333

@aniket-okta aniket-okta self-assigned this Sep 26, 2025
@aniket-okta
aniket-okta merged commit 12f1aab into master Sep 29, 2025
4 of 6 checks passed
@aniket-okta
aniket-okta deleted the OKTA-504333 branch September 29, 2025 05:47
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.

2 participants