Skip to content

Why does Microsoft.Identity.Web adds x-client-brkrver and other headers? #1460

Answered by bgavrilMS
marco987654 asked this question in Q&A
Discussion options

You must be logged in to vote

Let me try to shed some light on the headers sent by MSAL to the Identity Provider

header data why?
x-client-sku An identifier of the library used (e.g. MSAL .NET for .NET Core, MSAL .NET for UWP, MSAL Java, MSAL python) see below
x-client-ver The version of the library used sky and ver are used by AAD to enable new features that MSALs support, for example AAD will send a "refresh_in" value along the "expires_in" in the token response to certain MSALs. Sadly, some 3rd party libraries are very fragile and simply adding a new field in the JSON response breaks them (!!!), so an "opt-in" mechanism is needed.
x-client-OS A descriptor of the OS. E.g. "Windows Server 2019" or "Windows…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bgavrilMS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants