Due to an unresolved issue with Axios not supporting HTTPS requests proxied over a HTTP proxy URL defined by HTTPS_PROXY (https://github.com/axios/axios/issues/4531), the Configuration.getAccessToken(url) method results in a 400 Bad Request response when the HTTPS_PROXY environment variable is set.
Due to an unresolved issue with Axios not supporting HTTPS requests proxied over a HTTP proxy URL defined by
HTTPS_PROXY
(https://github.com/axios/axios/issues/4531), theConfiguration.getAccessToken(url)
method results in a400 Bad Request
response when theHTTPS_PROXY
environment variable is set.I recommend using
proxy-agent
as suggested with https://github.com/axios/axios/issues/4531#issuecomment-1608140085 to resolve this until Axios's custom proxy handling code is fixed.