Skip to content

build(deps): bump omniauth-oauth2 from 1.8.0 to 1.10.1 - #1344

Merged
amatsuda merged 1 commit into
mainfrom
dependabot/bundler/omniauth-oauth2-1.10.1
Nov 23, 2026
Merged

amatsuda merged 1 commit into
mainfrom
dependabot/bundler/omniauth-oauth2-1.10.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Bumps omniauth-oauth2 from 1.8.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

v1.9.0

What's Changed

https://rubygems.org/gems/omniauth-oauth2/versions/1.9.0

Full Changelog: omniauth/omniauth-oauth2@v1.8.0...v1.9.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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [omniauth-oauth2](https://github.com/omniauth/omniauth-oauth2) from 1.8.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.8.0...v1.10.1)

---
updated-dependencies:
- dependency-name: omniauth-oauth2
  dependency-version: 1.10.1
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Nov 23, 2026
@amatsuda
amatsuda merged commit b5a4410 into main Nov 23, 2026
4 checks passed
@amatsuda
amatsuda deleted the dependabot/bundler/omniauth-oauth2-1.10.1 branch November 23, 2026 13:00
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.

1 participant