---
title: "oauth2 2.0.0.rc3 Breaking Changes on RubyGems | Since.dev"
description: "What each oauth2 release removed, renamed or changed: 10 breaking changes in 1 version on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/oauth2
last_updated: 2026-12-04
---

# 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

Latest version `2.1.0`. [Source repository](https://github.com/oauth-xx/oauth2)

Its 2.0.0.rc3 release drops Ruby 1.8. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

## oauth2 2.0.0.rc3 breaking changes

oauth2 2.0.0.rc3, released June 21, 2022: 10 breaking changes.

- **Removed**  

The gem no longer supports Ruby 1.8. [github.com](https://github.com/oauth-xx/oauth2/blob/v2.0.0/CHANGELOG.md)
- **Removed**  

Support for the expired MAC token draft spec is removed. Code relying on it must change. [github.com](https://github.com/oauth-xx/oauth2/blob/v2.0.0/CHANGELOG.md)
- **Removed** `OAuth2.Response.error`  

Calling .error on an OAuth2::Response no longer works. Update code that calls it. [github.com](https://github.com/oauth-xx/oauth2/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Parsing errors now propagate instead of being rescued. Handle them in your code if needed. [github.com](https://github.com/oauth-xx/oauth2/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/oauth-xx/oauth2/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

A redirect response missing a location header now raises an error. Handle this case in code that follows redirects. [github.com](https://github.com/oauth-xx/oauth2/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Faraday.ConnectionFailed`  

Connection failures now raise OAuth2::ConnectionFailed instead of Faraday::ConnectionFailed. Rescue the new class. [github.com](https://github.com/oauth-xx/oauth2/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/oauth-xx/oauth2/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/oauth-xx/oauth2/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/oauth-xx/oauth2/blob/v2.0.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
