We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the following example, API_BASE_URL is an https:// URL with self-signed certificates.
API_BASE_URL
https://
Requests fail with
[2022-12-20T18:17:49.363+0000] {views.py:659} ERROR - Error authorizing OAuth access token: HTTPSConnectionPool(host='keycloak.redacted.redacted, port=443): Max retries exceeded with url: /auth/realms/redacted/protocol/openid-connect/token (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1129)')))
How can we either:
OAUTH_PROVIDERS = [ { "name": "keycloak", "token_key": "access_token", "icon": "fa-key", "remote_app": { "api_base_url": API_BASE_URL, "client_kwargs": {"scope": "email profile"}, "access_token_url": f"{API_BASE_URL}/token", "authorize_url": f"{API_BASE_URL}/auth", "request_token_url": None, "client_id": CLIENT_ID, "client_secret": CLIENT_SECRET, }, } ]
The text was updated successfully, but these errors were encountered:
You probably can achieve this at the OS level, add your CA cert to the trusted CA's
something similar to, it depends on the OS: sudo cp my-self-signed-cert.crt /usr/local/share/ca-certificates/ sudo update-ca-certificates
Sorry, something went wrong.
No branches or pull requests
In the following example,
API_BASE_URL
is anhttps://
URL with self-signed certificates.Requests fail with
How can we either:
The text was updated successfully, but these errors were encountered: