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

$OIDC_SCOPES must be an array, should not be in quotes #184

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

capile
Copy link
Contributor

@capile capile commented Nov 12, 2024

OIDC_SCOPES (OidcAuth.scopes) should not be quoted before setting to config, as it expects a JSON array. As there's jq available at the container, we can properly test if the variable is indeed an array before pushing to config

…ay before pushing to config (without escaping)
@ostefano
Copy link
Collaborator

@JordanBarnartt CC

@JordanBarnartt
Copy link
Contributor

Makes sense to me. Looking back, my original PR (https://github.com/MISP/misp-docker/pull/170/files) did not include quotes, but it also made the field mandatory, and the quotes were added as part of another PR (https://github.com/MISP/misp-docker/pull/180/files).

@ostefano
Copy link
Collaborator

@Diogo-Rego can you give it a look?

@ostefano ostefano merged commit 5e60a88 into MISP:master Nov 13, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants