auth0/auth0-deploy-cli

Proxy Configuration is broken in v8

Opened this issue · 1 comments

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of this tool and the issue still persists.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

We are using the auth0-deploy-cli in our CI/CD-process.
The automated import to our staging tenants is executed behind a proxy.
Therefore we have to use the --proxy_url configuration, which worked fine in the past.
We just updated the deploy-cli to the newest major-version v8.
With v8 the proxy configuration seems to be broken.
The deploy-cli is not able to authenticate or to do any requests: FetchError: The request failed and the interceptors did not return an alternative response
(Without the proxy-configuration the import works as expected)
As far as I understood from the changelogs and migration guides, this behaviour could be caused by migrating to node-auth0/v4.
At least I found a change regarding the proxy configuration here: https://github.com/auth0/node-auth0/blob/master/v4_MIGRATION_GUIDE.md#authentication-api

Expectation

auth0-deploy-cli should be able to work with --proxy_url configuration in v8

Reproduction

  1. run the deploy-cli with --proxy_url=http://sample.proxy:port

Deploy CLI version

8.4.1

Node version

20.18.0

Hi @jonask94,
Thank you for reporting this issue! Our team is investigating the issue.