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
244 stars 147 forks source link

IDS-4410 - Add org. connection hiding support #889

Closed ubenzer closed 7 months ago

ubenzer commented 7 months ago

🔧 Changes

Adds support for organization level connection hiding.

📚 References

IDS-4410

🔬 Testing

Create a config.json file similar to:

{
    "AUTH0_DOMAIN": "XYZ.auth0.com",
    "AUTH0_CLIENT_ID": "AAA",
    "AUTH0_CLIENT_SECRET": "BBB",
    "AUTH0_INCLUDED_ONLY": ["organizations"],
    "AUTH0_ALLOW_DELETE": false
  }

and run

node lib/index.js export -c config.json -o ./local -f yaml
node lib/index.js import -c config.json --input_file ./local/tenant.yaml

with different combinations to test:

  1. show_as_button is exported.
  2. show_as_button is imported on creation.
  3. show_as_button changes to existing enabled connections are detected and it is updated.

Do the same test or json format as well.

📝 Checklist