endpoints_resolution_error after upgrading from "5.0.0" to "6.3.1"
ashishnetworks opened this issue · 1 comments
ashishnetworks commented
- Error: errorCode: 'endpoints_resolution_error',
errorMessage: '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://login.microsoftonline.com/7a9376d4-7c43-480f-82ba-a090647f651d/v2.0/.well-known/openid-configuration',`
Here is the snippet of code that generates the token
- With the older version of proxy-agent the code still woks fine. Unable to understand whats the problem.
- I was forced to upgrade to major version of this package because of vm2 critical vulnerability
FYI I already have added known autorty in my AZOptions, which is recomended in many forums
azureADOptions.knownAuthorities = [
${AZURE_KNOWN_AUTH_URL}${AAD_TENANT_ID}]
ashishnetworks commented