Skip to content

Conversation

@Avery-Dunn
Copy link

@Avery-Dunn Avery-Dunn commented Nov 6, 2025

Deprecates the extraQueryParameters API according to KR 3310905, similar to what was done in MSAL.NET and MSAL Java:
AzureAD/microsoft-authentication-library-for-dotnet#5536
AzureAD/microsoft-authentication-library-for-java#1001

This API was meant for niche scenarios which the library did not explicitly cover, and not really meant for production. It can affect the contents and validity of tokens but were not used in our caching scheme which led to bad caching behavior: if the extra query parameters changed between requests we could return tokens that were not valid for the latest set of parameters.

Therefore we are deprecating the current API and, if there is a need for it, may add a new API in the future to perform similar behavior in a more robust way.

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