-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting ClientAuthError: endpoints_resolution_error: Error: could not resolve endpoints. Please check network and try again. #6214
Comments
This happens when the openid config endpoint cannot be reached. You'll need to inspect the network traffic when this happens to determine why it failed, often it's a network connectivity issue. As a side note, why are you overriding msal-common? We don't recommend this, it's very likely to cause unintended behavior. |
@tnorling thanks for the reply, i will check this.
this is the all the information we cloud see on out logs, is there a way to get more information from the msal-common we applied this as a fix for a issue we had few months ago, we yet to update the package version to the new one. |
Are you putting in |
For more detail you will need to look at your network logs which you can find either in your browser dev tools or by using a tool like Fiddler |
No i added |
Hey @HansakaSS ! Can you please share your network logs from the browser's Dev Tools -> Network tab or you can also reproduce this issue with Fiddler running to capture the network trace and send the trace. |
Hey @lalimasharda
|
You can share the logs via the email id linked to my account! |
@HansakaSS This issue has been automatically marked as stale because it is marked as requiring author feedback but has not had any activity for 5 days. If your issue has been resolved please let us know by closing the issue. If your issue has not been resolved please leave a comment to keep this open. It will be closed automatically in 7 days if it remains stale. |
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
2.32.1
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.1.2
Public or Confidential Client?
Public
Description
We can see the error sometimes for some users.
Signin Failure. Error message: ClientAuthError: endpoints_resolution_error: Error: could not resolve endpoints. Please check network and try again. Detail: ClientAuthError: openid_config_error: Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints. Attempted to retrieve endpoints from: https://domain/domain/b2c_1a_signup/v2.0/.well-known/openid-configuration
package.json is looks like this.
Error Message
Signin Failure. Error message: ClientAuthError: endpoints_resolution_error: Error: could not resolve endpoints. Please check network and try again. Detail: ClientAuthError: openid_config_error: Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints. Attempted to retrieve endpoints from: https://domain/domain/b2c_1a_signup/v2.0/.well-known/openid-configuration
Msal Logs
No response
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
Expected Behavior
Identity Provider
Azure B2C Custom Policy
Browsers Affected (Select all that apply)
Chrome, Firefox, Edge, Safari, Internet Explorer, None (Server), Other
Regression
No response
Source
External (Customer)
The text was updated successfully, but these errors were encountered: