-
Notifications
You must be signed in to change notification settings - Fork 245
Bump MSAL to version 4.79.2 and handle changes to deprecated WithExtraQueryParameters APIs #3583
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
Conversation
|
Pls update the title to say "bump MSAL to version xyz and update use of WithExtraQueryParameters" |
jmprieur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I left a couple of comments
845ede5 to
a34377b
Compare
This reverts commit 7cce634.
…AD/microsoft-identity-web into avdunn/extraqp-deprecation
jmprieur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @Avery-Dunn
In MSAL.NET the
WithExtraQueryParametersAPIs are receiving two changes: AzureAD/microsoft-authentication-library-for-dotnet#5536This PR updates to the latest MSAL.NET version and handles the new API and cache behavior. It does so by making changes to the
TokenAcquisitionclass, mainly by adjusting the existingMergeExtraQueryParametershelper method to return theDictionarystyle that the newWithExtraQueryParametersAPI expects.The changes were tested with a locally built version of MSAL.NET, and all existing tests that dealt with extra query parameters worked with minimal or no changes (in
TokenAcquisitionAuthorityTests,ExtraParametersTests,DownstreamApiOptionsMergeTests, andDownstreamApiEndpointTests)