Skip to content
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

Unable to get access token when HTTPS_PROXY is configured due to longstanding Axios bug #20

Open
johnhatch14 opened this issue Nov 15, 2023 · 0 comments · May be fixed by #45
Open

Unable to get access token when HTTPS_PROXY is configured due to longstanding Axios bug #20

johnhatch14 opened this issue Nov 15, 2023 · 0 comments · May be fixed by #45

Comments

@johnhatch14
Copy link

Due to an unresolved issue with Axios not supporting HTTPS requests proxied over a HTTP proxy URL defined by HTTPS_PROXY (axios/axios#4531), the Configuration.getAccessToken(url) method results in a 400 Bad Request response when the HTTPS_PROXY environment variable is set.

I recommend using proxy-agent as suggested with axios/axios#4531 (comment) to resolve this until Axios's custom proxy handling code is fixed.

@johnhatch14 johnhatch14 changed the title Unable to get access token when HTTPS_PROXY is configured due to longstanding Axios bug. Unable to get access token when HTTPS_PROXY is configured due to longstanding Axios bug Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant