Description
Checklist
- I have looked into the README and have not found a suitable solution or answer.
- I have looked into the documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have upgraded to the latest version of this tool and the issue still persists.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
We are migrating our Auth0 setup to our codebase using GitHub Actions. To do this, we exported the existing tenant configuration with a0deploy export --format=yaml, which produces a tenant.yaml file along with other resource configuration files. The goal is to update parts of the Auth0 configuration and then deploy the entire setup using a0deploy import --input_file ./dev/tenant.yaml.
The Issue:
Upon attempting to deploy the configuration, we encounter the following error:
Bad Request: "options.oidc_metadata.scopes_supported" must contain less than or equal to 200 items
This error suggests that our OpenID Connect (OIDC) configuration has more than 200 scopes listed in the scopes_supported field. However, this is the same configuration currently accepted and operational in our Auth0 environment, which makes this validation error puzzling.
Expectation
This validation does not limit the number of scopes
Reproduction
- Given that our client's OIDC Configuration contains > 200 supported_scopes values
- When we use our the CLI tool for deployment
- Then the deployment fails with the above error
Deploy CLI version
7.23.1
Node version
v20.12.2