TooTallNate/proxy-agents

endpoints_resolution_error after upgrading from "5.0.0" to "6.3.1"

ashishnetworks opened this issue · 1 comments

Here is the snippet of code that generates the token
image

image

  • 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

image

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}]

Following changes worked for me
image