microsoft-authentication-library-for-dotnet
microsoft-authentication-library-for-dotnet copied to clipboard
[Feature Request] Include the full IDP response in AuthenticationResult
Is your feature request related to a problem? Please describe. E&D customers would like to parse some of the IdP headers associated with a token request
Describe the solution you'd like
MSAL can include the entire HttpResponseMessage along with MSAL's metrics, in AuthenticationResultMetadata
Describe alternatives you've considered
Feature could be opt-in, .WithRecordFullIdPResponse(true)
CC @jmprieur @brentschmaltz @TimHannMSFT for thoughts on devex.
The scenario is for folks wanting to do negative testing.
Alternative: inject your own HttpClient and intercept the response from the /token endpoint.
@bgavrilMS I think this feature ask should be in SAL.
@bgavrilMS I think this feature ask should be in SAL.
We have an item tracking: 1766308. @brentschmaltz E&D asked for MSAL to have a solution as well, they want for both. This is to get response for MSAL calls, SAL may be completely out of the loop, no?
@TimHannMSFT correct, i didn't notice the repo was MSAL.