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

When using discovery url and a self signed certificate for the provider a connection cannot be established #41

Closed
NotNorom opened this issue Nov 6, 2023 · 1 comment

Comments

@NotNorom
Copy link
Contributor

NotNorom commented Nov 6, 2023

Hi!

I've ran into a scenario where a keycloak instance is running behind a self signed ssl certificate. I am unable to change that fact as it's company policy. They're doing custom CA stuff, blah blah.

So right now I am looking for a way to either configure the reqwest::Client inside the pub async fn discover_jwks(issuer: &str) -> Result<String, InitError> function or pass my own client.

I'd prefer passing one, as I am already creating one for use in other parts of my program.

What do you think?
I'm also more than down to create a pull request to help with this :)

@cduvray
Copy link
Owner

cduvray commented Nov 15, 2023

closing this, #42 merged.

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

No branches or pull requests

2 participants