-
Notifications
You must be signed in to change notification settings - Fork 167
Description
Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.
Thank you in advance for helping us to improve this library! Please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.
By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.
Description
We like using the CLI for configuring our connections, however we manage the enabled_clients through an automation service. If we do not include enabled_clients in our connection it wipes out the configured clients. If we do include the node, only those included will remain wiping out the rest.
It's due to this line of code. https://github.com/auth0/auth0-deploy-cli/blob/master/src/context/yaml/handlers/connections.js#L50 Where it defaults to [] if the entry doesn't exist.
Reproduction
- Create a connection through the CLI without the enabled_clients node
- Add a client through another means (like the admin console)
- re-run the CLI
- Your client no longer is configured.
Environment
- Version used was auth0-deploy-cli@3.5.0
- linux/amd64 (it's a dockerized environment)