Fix oauth2 2.0 auth_scheme breaking change#69
Merged
JureCindro merged 4 commits intomasterfrom Feb 5, 2026
Merged
Conversation
oauth2 2.0 changed the default auth_scheme from :request_body to :basic_auth. This causes credentials to be sent in the Authorization header instead of the request body. Explicitly set auth_scheme: :request_body to maintain backward compatibility with existing integrations and VCR cassettes. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23bd433 to
05e5b8d
Compare
Sets up automated testing with PostgreSQL across Ruby 2.7/3.0 and Rails 5.0-6.0 matrix. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
05e5b8d to
7c7f769
Compare
StoneFrog
reviewed
Feb 5, 2026
…nfigurable - Remove deprecated Rails 7.0 and 7.1 (EOL) - Add Rails 8.0 and 8.1 - Add oauth_client_auth_scheme configuration option (defaults to :request_body) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
67ed44d to
587df35
Compare
StoneFrog
approved these changes
Feb 5, 2026
Contributor
StoneFrog
left a comment
There was a problem hiding this comment.
You may wanna add this to changelog (unless you plan to do that later)
Other than that - delicious
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
auth_schemefrom:request_bodyto:basic_authauth_scheme: :request_bodyto maintain backward compatibilityContext
This breaking change affects all apps using this gem when upgrading to oauth2 2.x. Without this fix, existing VCR cassettes and integrations expecting credentials in the request body will fail.
Test plan
🤖 Generated with Claude Code