auth0 / auth0-deploy-cli

The Auth0 Deploy CLI is a tool that helps you manage your Auth0 tenant configuration. It integrates into your development workflows as a standalone CLI or as a node module.
MIT License
236 stars 147 forks source link

DRAFT: Adding proxy functionality for node module usage #885

Open willvedd opened 5 months ago

willvedd commented 5 months ago

🔧 Changes

Even when a proxy_url is passed-in to the Deploy when used as a node module, it does not get utilized properly. This is because the run function, the sole function responsible for setting-up the proxy, is not executed when the functions are used as a node module. This PR proposed to move the proxy configuration into the dump and deploy functions themselves so that a proxy can be used by either mode of operation.

📚 References

🔬 Testing

Added a placeholder E2E test for local testing. Not yet sure if this test can be run in CI for lack of dependency proxy server.

📝 Checklist