auth0-deploy-cli
auth0-deploy-cli copied to clipboard
`EXCLUDED_PROPS` not respecting `clients.client_metadata` when doing a deploy
Checklist
- [X] I have looked into the README and have not found a suitable solution or answer.
- [X] I have looked into the documentation and have not found a suitable solution or answer.
- [X] I have searched the issues and have not found a suitable solution or answer.
- [X] I have upgraded to the latest version of this tool and the issue still persists.
- [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- [X] I agree to the terms within the Auth0 Code of Conduct.
Description
I have excluded the following resources from being managed by auth0-deploy-cli:
"AUTH0_DOMAIN": "xxxx.us.auth0.com",
"AUTH0_CLIENT_ID": "xxxx",
"AUTH0_ALLOW_DELETE": true,
"AUTH0_EXCLUDED": [
"hooks",
"rules"
],
"AUTH0_KEYWORD_REPLACE_MAPPINGS": {
~ALL_THE_MAPPINGS_HERE~
}
"EXCLUDED_PROPS": {
"clients": [
"client_secret",
"client_metadata"
],
"connections": [
"options.client_secret"
]
}
So, the thing is that when I run a deploy the current client_metadata values are deleted. That shouldn't happen if I'm explicitly saying to exclude that to be managed.
Expectation
client_metadata values should remain unchanged after deployment of tenant-config.
Reproduction
- run a dump (
clients.client_metadataactually contains valid values in the remote tenant config) - run a deploy
Deploy CLI version
7.24.3
Node version
v18.17.1