Skip to content

Change VERIFY_SSL default setting with specified cert file #44

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

Merged
merged 2 commits into from
May 16, 2025
Merged

Conversation

araglu
Copy link
Collaborator

@araglu araglu commented May 9, 2025

social-auth-core version 4.6.0 updated their request() function which broke our method of telling the Requests library to trust other certificates when connecting to UIT+. The update blocks our ability to set the verify= argument. The tricky part is that DEFAULT_CA_FILE can change since it typically points to a python module, so setting SOCIAL_AUTH_VERIFY_SSL isn't a good option here.

This change overrides the VERIFY_SSL setting, and this should last longer in future code changes to social-auth. This also works with older versions of social-auth, like what is in our local dev environments.

CHW-702

@araglu araglu self-assigned this May 9, 2025
@araglu araglu merged commit d2cef08 into main May 16, 2025
2 checks passed
@araglu araglu deleted the verify-ssl branch May 16, 2025 18:09
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