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

# omniauth breaking changes

omniauth 2.0.0 (January 11, 2021) is its newest release with breaking changes, 6 of them. The first: Exceptions in OmniAuth phases are now caught and routed to on_failure. Every breaking API change we have recorded in omniauth on RubyGems: 6 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.4.2`. [Source repository](https://github.com/omniauth/omniauth)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

## omniauth 2.0.0 breaking changes

omniauth 2.0.0, released January 11, 2021: 6 breaking changes.

- **Behavior changed**  

Exceptions raised during the options, request, callback and other phases no longer propagate. They are passed to the on_failure handler, so apps wrapping OmniAuth in middleware may need their own failure handler. [github.com](https://github.com/omniauth/omniauth/releases/tag/v2.0.0)
- **Behavior changed**  

Apps mounted under a sub-path now get request, callback and failure paths that include the SCRIPT_NAME prefix. Update any hard-coded paths that assumed the root. [github.com](https://github.com/omniauth/omniauth/releases/tag/v2.0.0)
- **Behavior changed**  

When GET is allowed for login, OmniAuth now logs a warning on each GET request to a login path. Set silence_get_warning only if GET is truly required. [github.com](https://github.com/omniauth/omniauth/releases/tag/v2.0.0)
- **Behavior changed**  

The failure route follows each strategy's path_prefix option, so a strategy using /external now fails at /external/failure. Update any redirects or links that expect /auth/failure. [github.com](https://github.com/omniauth/omniauth/releases/tag/v2.0.0)
- **Behavior changed**  

Providers are now only looked up under the OmniAuth::Strategies namespace. A provider class that was found through an ancestor class must be moved there. [github.com](https://github.com/omniauth/omniauth/releases/tag/v2.0.0)
- **Default changed** `OmniAuth.config.allowed_request_methods`  

Login requests must now use POST by default. Change login links and buttons to POST forms, or set allowed_request_methods explicitly if you need GET. [github.com](https://github.com/omniauth/omniauth/releases/tag/v2.0.0)

## Related packages

- [omniauth-ldap](https://since.dev/packages/gem/omniauth-ldap.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.
