oauth2 breaking changes
oauth2 2.0.0.rc3 (June 21, 2022) is its newest release with breaking changes, 10 of them. The first: oauth2 2.0.0.rc3 drops support for Ruby 1.8. Every breaking API change we have recorded in oauth2 on RubyGems: 10 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.1.0. Source repository
Its 2.0.0.rc3 release drops Ruby 1.8. Ruby end of life dates.
oauth2 2.0.0.rc3 breaking changes
- Removed
The gem no longer supports Ruby 1.8. github.com - Removed
Support for the expired MAC token draft spec is removed. Code relying on it must change. github.com - Removed
OAuth2.Response.error
Calling .error on an OAuth2::Response no longer works. Update code that calls it. github.com - Behavior changed
Parsing errors now propagate instead of being rescued. Handle them in your code if needed. github.com - Behavior changed
A token whose expired_at time is now is treated as expired. Check any code that relies on the old timing. github.com - Behavior changed
A redirect response missing a location header now raises an error. Handle this case in code that follows redirects. github.com - Behavior changed
Faraday.ConnectionFailed
Connection failures now raise OAuth2::ConnectionFailed instead of Faraday::ConnectionFailed. Rescue the new class. github.com - Default changed
auth_scheme
The default for :auth_scheme is now :basic_auth instead of :request_body. Set :auth_scheme explicitly if your server expects the old default. github.com - Default changed
authorize_url
The default authorize_url is now 'oauth/authorize' instead of '/oauth/authorize'. Set it explicitly if you need the old path. github.com - Default changed
token_url
The default token_url is now 'oauth/token' instead of '/oauth/token'. Set it explicitly if you need the old path. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.