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

Allow to use self-signed certificates for OIDC IDP. Correct callback… #42

Open
wants to merge 1 commit into
base: preview
Choose a base branch
from

Conversation

osenchenko
Copy link

  1. Allow to use self-signed certificate for OIDC IDP.

Python requests lib uses own certificates authority storage. In order to use the self-signed certificate for IDP we need the library to trust it. Add environment variable OIDC_IDP_CA_CERT which points to file with self-signed CA certificate file in PEM-format. Later we add CA certificate to the call arguments of requests.get()

  1. When working behind proxy which terminates SSL we need to form correct redirect_uri. Use WEB_URL variable to correctly identify if we work over https or not.

@torbenraab torbenraab added the help wanted Extra attention is needed label Nov 5, 2024
@torbenraab
Copy link
Owner

Have you checked that this also work if you don't add a self signed cert for verification?

@osenchenko
Copy link
Author

No. I will check and return with results.

@osenchenko
Copy link
Author

I've checked. Yes, it also works. Do you need any proof?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants