Skip to content

Allow omniauth-oauth2 1.9 and 1.10 - #55

Open
fjaeger wants to merge 2 commits into
synth:mainfrom
Mailbutler:relax-omniauth-oauth2-constraint
Open

fjaeger wants to merge 2 commits into
synth:mainfrom
Mailbutler:relax-omniauth-oauth2-constraint

Conversation

@fjaeger

@fjaeger fjaeger commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

The gemspec pins `omniauth-oauth2` to `> 1.8.0`, so apps on current omniauth-oauth2 releases (1.9.x, 1.10.x) can't install this gem; Bundler fails to resolve. This relaxes it to `> 1.8`, which still excludes a future 2.0.

We run this gem with omniauth-oauth2 1.10.0 in production.

🤖 Generated with Claude Code

fjaeger and others added 2 commits November 3, 2026 13:55
The '~> 1.8.0' constraint pins omniauth-oauth2 to 1.8.x, which keeps
apps on current omniauth-oauth2 releases (1.9, 1.10) from using this gem.
'~> 1.8' still excludes a future 2.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
omniauth-oauth2 1.9+ resolves callback_url in authorize_params to store
the redirect URI for the token request. With no full_host configured that
reads scheme and url from the request, which the spec's request doubles
don't stub.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant