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

Oauth 2.0 breaking change fix #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

domschab23
Copy link

@domschab23 domschab23 commented Aug 9, 2024

Uprading oauth2to version 2.0.9 https://rubygems.org/gems/oauth2/versions/2.0.9 introduces breaking changes with :auth_scheme. The default value in 2.X.X is :basic_auth but it used to be :request_body in 1.X.X https://github.com/oauth-xx/oauth2/blob/main/lib/oauth2/client.rb#L54 and notes here https://github.com/oauth-xx/oauth2/tree/main?tab=readme-ov-file#what-is-new-for-v20

Default value in 1.X.X https://gitlab.com/oauth-xx/oauth2/-/blob/1-4-stable/lib/oauth2/client.rb?ref_type=heads#L44

Some integrations still rely on request_body and linkedin is one of them so adding this

@domschab23
Copy link
Author

cc @decioferreira

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.

1 participant