Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: USGovSingleTenant OAuthEndpoint #6714

Merged
merged 5 commits into from
Dec 19, 2023
Merged

fix: USGovSingleTenant OAuthEndpoint #6714

merged 5 commits into from
Dec 19, 2023

Conversation

fangyangci
Copy link
Contributor

@fangyangci fangyangci commented Dec 13, 2023

Fixes #6717
JS PR #4588

Description

Fix a potential bug with USGov OAuthEndpoint while using SingleTenant.
Single tenant can't get token within <MicrosoftServices.onmicrosoft.us>.

Specific Changes

Update MicrosoftGovernmentAppCredentials.OAuthEndpoint.

Testing

Test locally, hard to add usgov single appid/password to the TestEnvironment.
MicrosoftGovernmentAppCredentialsTests.ConstructorTests

@fangyangci fangyangci requested a review from a team as a code owner December 13, 2023 14:55
@fangyangci fangyangci changed the title fixUSGovSingleTenant FixUSGovSingleTenant OAuthEndpoint Dec 13, 2023
@fangyangci fangyangci changed the title FixUSGovSingleTenant OAuthEndpoint Fix USGovSingleTenant OAuthEndpoint Dec 13, 2023
@fangyangci fangyangci changed the title Fix USGovSingleTenant OAuthEndpoint fix: USGovSingleTenant OAuthEndpoint Dec 19, 2023
@tracyboehrer tracyboehrer merged commit 822ae31 into microsoft:main Dec 19, 2023
13 checks passed
tracyboehrer pushed a commit that referenced this pull request Jan 24, 2024
* fixUSGovSingleTenant

* Add UT

* Rollback AuthTenant Property Name

* The Ctor do contains the old ones, Add Ctor to ApiCompatBaseline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Automation: No parity PR does not need to be applied to other languages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

USGov OAuthEndpoint while using SingleTenant
2 participants