question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WwwAuthenticateParameters fails to create response from headers

See original GitHub issue

The 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:

  1. MSAL does not know how to parse authorization_uri property
  2. The WWWAUtheticate collection has 1 element, but .Any() returns false

For more details please see here

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bgavrilMScommented, Jun 1, 2022

Yes, you are right @alvin-h , this is important.

0reactions
bgavrilMScommented, Jul 22, 2022

@trwalke - aren’t you working on this?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found