auth0-deploy-cli icon indicating copy to clipboard operation
auth0-deploy-cli copied to clipboard

DRAFT: Adding proxy functionality for node module usage

Open willvedd opened this issue 1 year ago • 0 comments

🔧 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

  • [ ] All new/changed/fixed functionality is covered by tests (or N/A)
  • [ ] I have added documentation for all new/changed functionality (or N/A)

willvedd avatar Jan 31 '24 14:01 willvedd