Skip to content

Updating config for RX/EX clouds endpoints#8581

Closed
segannon wants to merge 2 commits intoAzureAD:devfrom
segannon:fixAGCLogin
Closed

Updating config for RX/EX clouds endpoints#8581
segannon wants to merge 2 commits intoAzureAD:devfrom
segannon:fixAGCLogin

Conversation

@segannon
Copy link
Copy Markdown

@segannon segannon commented May 5, 2026

Update config for AGC clouds

@segannon segannon requested a review from a team as a code owner May 5, 2026 21:26
Copilot AI review requested due to automatic review settings May 5, 2026 21:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates msal-common authority configuration to recognize additional Azure Government cloud hosts (US Secret / US Top Secret) across hardcoded authority metadata and test constants.

Changes:

  • Add US Secret (login.microsoftonline.microsoft.scloud) and US Top Secret (login.microsoftonline.eaglex.ic.gov) hosts/aliases to hardcoded instance discovery and endpoint metadata.
  • Expose new AzureCloudInstance entries for the two additional clouds.
  • Extend test-kit cloud host/alias constants to include the new clouds.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
lib/msal-common/test/test_kit/StringConstants.ts Adds new cloud host constants and expected alias mappings for test coverage of the new environments.
lib/msal-common/src/authority/AuthorityOptions.ts Exposes new AzureCloudInstance values for US Secret and US Top Secret cloud authorities.
lib/msal-common/src/authority/AuthorityMetadata.ts Adds new hosts to hardcoded endpoint metadata and instance discovery metadata so they are treated as known Microsoft authorities.

Comment thread lib/msal-common/src/authority/AuthorityOptions.ts Outdated
Comment thread lib/msal-common/src/authority/AuthorityOptions.ts
casing for standardization

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@segannon segannon closed this May 5, 2026
@segannon segannon deleted the fixAGCLogin branch May 5, 2026 22:39
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