feat: implement disabling oidc issuer checks (#13991)

* use DANGEROUS prefix and drop a warning log
This commit is contained in:
Steven Masley
2024-07-24 16:45:47 -05:00
committed by GitHub
parent 652827f0e8
commit 4f01372179
14 changed files with 272 additions and 22 deletions
+10
View File
@@ -673,6 +673,16 @@ URL pointing to the icon to use on the OpenID Connect login button.
The custom text to show on the error page informing about disabled OIDC signups. Markdown format is supported.
### --dangerous-oidc-skip-issuer-checks
| | |
| ----------- | ----------------------------------------------------- |
| Type | <code>bool</code> |
| Environment | <code>$CODER_DANGEROUS_OIDC_SKIP_ISSUER_CHECKS</code> |
| YAML | <code>oidc.dangerousSkipIssuerChecks</code> |
OIDC issuer urls must match in the request, the id_token 'iss' claim, and in the well-known configuration. This flag disables that requirement, and can lead to an insecure OIDC configuration. It is not recommended to use this flag.
### --telemetry
| | |