Skip to content

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

@ejohnson6
Copy link

Just ran into this issue when upgrading our oauth2 dependency from 1.4.1 to 2.0.9, this would be great to have as the default

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