microsoft / botbuilder-dotnet

Welcome to the Bot Framework SDK for .NET repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using .NET.
https://github.com/Microsoft/botframework
MIT License
864 stars 480 forks source link

fix: USGovSingleTenant OAuthEndpoint #6714

Closed fangyangci closed 6 months ago

fangyangci commented 6 months ago

Fixes #6717 JS PR #4588

Description

Fix a potential bug with USGov OAuthEndpoint while using SingleTenant. Single tenant can't get token within .

Specific Changes

Update MicrosoftGovernmentAppCredentials.OAuthEndpoint.

Testing

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