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
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)
🔧 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 therun
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 thedump
anddeploy
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