Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with OIDC Configuration Validation #935

Open
6 tasks done
davidlacho opened this issue Aug 6, 2024 · 1 comment
Open
6 tasks done

Issue with OIDC Configuration Validation #935

davidlacho opened this issue Aug 6, 2024 · 1 comment
Labels

Comments

@davidlacho
Copy link

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

  1. Given that our client's OIDC Configuration contains > 200 supported_scopes values
  2. When we use our the CLI tool for deployment
  3. Then the deployment fails with the above error

Deploy CLI version

7.23.1

Node version

v20.12.2

@davidlacho davidlacho added the bug label Aug 6, 2024
@kushalshit27
Copy link
Contributor

Thank you for reporting this issue! Our team is currently investigating the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants