Skip to content

Set default value for OIDC_AUTH_METHOD#372

Closed
deade1e wants to merge 1 commit intoMISP:masterfrom
deade1e:patch-1
Closed

Set default value for OIDC_AUTH_METHOD#372
deade1e wants to merge 1 commit intoMISP:masterfrom
deade1e:patch-1

Conversation

@deade1e
Copy link
Contributor

@deade1e deade1e commented Feb 4, 2026

Since OIDC_AUTH_METHOD is not checked for not being set, and therefore gives no error if it's missing, simply give it a reasonable default value

Since OIDC_AUTH_METHOD is not checked for not being set, and therefore gives no error if it's missing, simply give it a reasonable default value
\"default_org\": \"${OIDC_DEFAULT_ORG}\",
\"mixedAuth\": ${OIDC_MIXEDAUTH},
\"authentication_method\": \"${OIDC_AUTH_METHOD}\",
\"authentication_method\": \"${OIDC_AUTH_METHOD:-client_secret_post}\",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do this check before? I.e., where all other checks are done (main entrypoint file)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure: #373

Closing this.

@deade1e deade1e closed this Feb 4, 2026
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.

2 participants