Skip to content

chore(deps): bump omniauth-oauth2 from 1.9.0 to 1.10.1 - #59

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/omniauth-oauth2-1.10.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/omniauth-oauth2-1.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Bumps omniauth-oauth2 from 1.9.0 to 1.10.1.

Release notes

Sourced from omniauth-oauth2's releases.

v1.10.1

Fixed

  • Keep at most 3 sign-ins in progress instead of 5, and make the PKCE verifier 32 random bytes in base64url, 43 characters, the shortest RFC 7636 allows, instead of 128 hex characters. With PKCE, about 4 abandoned sign-ins overflowed Rails' 4 KB cookie session, and the next sign-in failed with ActionDispatch::Cookies::CookieOverflow. Three sign-ins with an origin now take about 2.8 KB of an encrypted Rails session cookie, where five took about 5 KB. (#195)

Full Changelog: omniauth/omniauth-oauth2@v1.10.0...v1.10.1

v1.10.0

Added

  • RBS type signatures for the strategy, in sig/, checked with Steep.
  • Support up to 5 sign-ins in progress at once, for example in several tabs, instead of failing all but the latest with csrf_detected. Each one's redirect URI and PKCE verifier are stored by state in session["omniauth.oauth2"]. The omniauth.state, omniauth.redirect_uri, and omniauth.pkce.verifier keys still hold the latest sign-in, and the callback falls back to them, so provider gems and tests that set them keep working. The strategy also passes the state to OmniAuth's remember_sign_in, so each callback gets its own sign-in's omniauth.origin and omniauth.params. (#195)

Changed

  • Require Ruby 2.5 or later.
  • Require omniauth 2.3.1 or later, so apps can set OmniAuth.config.allowed_hosts to reject forged hosts in callback URLs (see GHSA-m27g-v28p-f9fx), and so each sign-in gets its own omniauth.origin and omniauth.params.
  • Include the refresh token in the credentials whenever the provider returns one, not only when the access token expires. Some providers, like Twitch, issue expiring tokens without saying when they expire. (#122)
  • Fail the request phase with missing_client_id when no client ID is configured, instead of redirecting to the provider with an authorize request it can only reject. (#65)
  • The gem includes only lib, sig, the license, the README, and the security policy, not the specs, changelog, CI workflows, or tool configs. (#179)

Removed

  • The pkce_verifier option. Setting it never had any effect, since the strategy overwrote it with a fresh verifier on every request, and the verifier is no longer kept in options at all. (#184)

Fixed

  • Send the token request the same redirect_uri as the authorize request, instead of the callback URL with code and state appended, as RFC 6749 requires. (#93, #142)
  • Send the token request a redirect_uri set in client_options, which oauth2 already sends in the authorize request. (#161)
  • Fail with invalid_credentials instead of raising NoMethodError when oauth2's raise_errors is off and the token response has no token. (#138)
  • Fail with csrf_detected instead of raising NoMethodError when the session has no stored state or the state param isn't a string. (#189)

Full Changelog: omniauth/omniauth-oauth2@v1.9.0...v1.10.0

Changelog

Sourced from omniauth-oauth2's changelog.

[1.10.1] - 2026-11-14

Fixed

  • Keep at most 3 sign-ins in progress instead of 5, and make the PKCE verifier 32 random bytes in base64url, 43 characters, the shortest RFC 7636 allows, instead of 128 hex characters. With PKCE, about 4 abandoned sign-ins overflowed Rails' 4 KB cookie session, and the next sign-in failed with ActionDispatch::Cookies::CookieOverflow. Three sign-ins with an origin now take about 2.8 KB of an encrypted Rails session cookie, where five took about 5 KB. (#195)

[1.10.0] - 2026-10-22

Added

  • RBS type signatures for the strategy, in sig/, checked with Steep.
  • Support up to 5 sign-ins in progress at once, for example in several tabs, instead of failing all but the latest with csrf_detected. Each one's redirect URI and PKCE verifier are stored by state in session["omniauth.oauth2"]. The omniauth.state, omniauth.redirect_uri, and omniauth.pkce.verifier keys still hold the latest sign-in, and the callback falls back to them, so provider gems and tests that set them keep working. The strategy also passes the state to OmniAuth's remember_sign_in, so each callback gets its own sign-in's omniauth.origin and omniauth.params. (#195)

Changed

  • Require Ruby 2.5 or later.
  • Require omniauth 2.3.1 or later, so apps can set OmniAuth.config.allowed_hosts to reject forged hosts in callback URLs (see GHSA-m27g-v28p-f9fx), and so each sign-in gets its own omniauth.origin and omniauth.params.
  • Include the refresh token in the credentials whenever the provider returns one, not only when the access token expires. Some providers, like Twitch, issue expiring tokens without saying when they expire. (#122)
  • Fail the request phase with missing_client_id when no client ID is configured, instead of redirecting to the provider with an authorize request it can only reject. (#65)
  • The gem includes only lib, sig, the license, the README, and the security policy, not the specs, changelog, CI workflows, or tool configs. (#179)

Removed

  • The pkce_verifier option. Setting it never had any effect, since the strategy overwrote it with a fresh verifier on every request, and the

... (truncated)

Commits
  • 403f172 Release 1.10.1
  • aedd8ce Keep 3 sign-ins with shorter PKCE verifiers
  • 0d8c51d Run CI on the 1.10.x branch
  • 575e4d5 Keep the build green when a head Ruby fails
  • e72a480 Publish a GitHub release when a version tag is pushed
  • 9ba0968 Sign gems on Ruby 3.4
  • 21eac69 Release 1.10.0
  • c39f6b4 Give each sign-in its own origin and params
  • 48ed1d5 Support several sign-ins in progress at once
  • 825ebd5 Require omniauth 2.2
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Oct 31, 2026
Bumps [omniauth-oauth2](https://github.com/omniauth/omniauth-oauth2) from 1.9.0 to 1.10.1.
- [Release notes](https://github.com/omniauth/omniauth-oauth2/releases)
- [Changelog](https://github.com/omniauth/omniauth-oauth2/blob/master/CHANGELOG.md)
- [Commits](omniauth/omniauth-oauth2@v1.9.0...v1.10.1)

---
updated-dependencies:
- dependency-name: omniauth-oauth2
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump omniauth-oauth2 from 1.9.0 to 1.10.0 chore(deps): bump omniauth-oauth2 from 1.9.0 to 1.10.1 Nov 18, 2026
@dependabot
dependabot Bot force-pushed the dependabot/bundler/omniauth-oauth2-1.10.0 branch from 7422523 to 62d8570 Compare November 18, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants