question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connections YAML without enabled_clients is wiping out configured clients.

See original GitHub issue

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

  1. Create a connection through the CLI without the enabled_clients node
  2. Add a client through another means (like the admin console)
  3. re-run the CLI
  4. Your client no longer is configured.

Environment

  • Version used was auth0-deploy-cli@3.5.0
  • linux/amd64 (it’s a dockerized environment)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
jshanmcommented, Aug 17, 2020

@shushen
But is there anyway I can set all my clients should be enabled with this connection ?Without listing all the clients in the yaml.

1reaction
willveddcommented, Mar 2, 2022

@bastianwegge The issue you’re describing has a healthy discussion in #420. The Auth0 team already thinking about ways forward.

Regarding the original issue, we’ll still need to review if the proposed behavior is aligned with the goals of this project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How so I find ALL known/configured clients in the new ...
Go to Classic Settings, User Interface, and uncheck New Clients. Found it! Literally as you replied, too. It sucks that I had to...
Read more >
Documentation - Apache Kafka
The Connector API allows building and running reusable producers or consumers that connect Kafka topics to existing applications or data systems. For example,...
Read more >
Release notes - GRR documentation
This page tries to identify the key changes and issues to watch for when upgrading from one version to another. Note that since...
Read more >
Cluster CRD - Rook Ceph Documentation - Rook.io
When encryption is not enabled, clients still establish a strong initial authentication and data integrity is still validated with a crc check. IMPORTANT: ......
Read more >
Apache Traffic Server - Wikitech - Wikimedia
traffic_server is a event-driven multi-threaded process. Threads are used to take advantage of multiple CPUs, not to handle multiple connections ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found