WwwAuthenticateParameters fails to create response from headers
See original GitHub issueThe WWWAuthenticate helper fails for
Bearer authorization_uri=https://login.microsoftonline.com/12345678-268e-46c2-8d30-1ad8ad2cd49d/oauth2/authorize, resource_id=https://testingorg0127.crm10.dynamics.com/
There seem to be 2 problems:
- MSAL does not know how to parse authorization_uri property
- The WWWAUtheticate collection has 1 element, but
.Any()
returnsfalse
For more details please see here
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
WwwAuthenticateParameters Class (Microsoft.Identity.Client)
Create the authenticate parameters by attempting to call the resource unauthenticated, and analyzing the response. CreateFromResponseHeaders(HttpResponseHeaders ...
Read more >[Feature Request] Help producing elements from ...
CreateFromResponseAuthenticateHeader. This method takes the string contained in a wwwAuthenticate header. This means the client has already ...
Read more >adding www-authenticate header to an error response
I can't find any hooks where I can add to the response headers: ResponseFilters ain't called after an exception is thrown.
Read more >How to troubleshoot the error "Failed to process response ...
The error is correct, the service did not receive any response headers or data. The key to help confirm this is to increase...
Read more >Webview2 authentication header. Method can only be either ...
1)? I tried creating new HttpClient(new HttpClientHandler() ... want to capture unsanitized cookies and authentication headers, but not the response bodies, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, you are right @alvin-h , this is important.
@trwalke - aren’t you working on this?