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

Add option to disable SSL verification for OIDC #684

Merged
merged 3 commits into from
Apr 7, 2024

Conversation

akaSyntaax
Copy link
Contributor

Adds the setting OIDC_VERIFY_SSL which allows to accept ssl certificates from untrusted (e.g. self-signed or created using a custom certificate authority) sources.

Without this setting, every OIDC login attempt fails with:
requests.exceptions.SSLError: HTTPSConnectionPool(host='auth.example.com', port=443): Max retries exceeded with url: /api/oidc/token (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))

akaSyntaax and others added 3 commits April 7, 2024 13:44
Passtrough the setting OIDC_VERIFY_SSL in order to allow self-signed certificates/custom certificate authority for the OIDC provider
@sissbruecker sissbruecker changed the title Add setting to configure the ssl verification of the OIDC provider Add option to disable SSL verification for OIDC Apr 7, 2024
@sissbruecker sissbruecker merged commit 5d8fdeb into sissbruecker:master Apr 7, 2024
2 checks passed
@sissbruecker
Copy link
Owner

Thanks!

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