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

fix: Add cacertfile to client args when provided #4451

Conversation

cmintey
Copy link
Contributor

@cmintey cmintey commented Oct 25, 2024

What type of PR is this?

  • bug

What this PR does / why we need it:

When migrating the OIDC to use a new client for v2, I forgot to pass the custom CA cert file when it is passed into the environment.

Which issue(s) this PR fixes:

Fixes #4449

Testing

Tested manually the following cases

  • without specifying a file (continues to work)
  • specifying a file which does not exist (blows up as expected)
  • specifying a valid ca cert file bundle (performed by @Haennetz)

@cmintey cmintey changed the title fixx: Add cacertfile to client args when provided fix: Add cacertfile to client args when provided Oct 25, 2024
@cmintey cmintey marked this pull request as ready for review October 25, 2024 16:22
@Haennetz
Copy link

I tested this with my custom CA it works 🎉 @cmintey thanks for the quick response and the fix 💯

@michael-genson michael-genson enabled auto-merge (squash) October 25, 2024 16:53
@michael-genson michael-genson merged commit ea0d2ec into mealie-recipes:mealie-next Oct 25, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] - OIDC_TLS_CACERTFILE has no effect since version 2
4 participants