• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

omniauth / omniauth-oauth2 / 39814294397
100%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2026 04:30PM UTC
Jobs 1
Files 2
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Oct 2026 04:27PM UTC coverage: 100.0%. Remained the same
39814294397

push

github

sferik
Support several sign-ins in progress at once

Starting a second sign-in before the first finished, in another tab or
with a double click, overwrote the session's single state, redirect
URI, and PKCE verifier, so the first one failed with csrf_detected.

The request phase now also stores each sign-in's redirect URI and PKCE
verifier by its state in session["omniauth.oauth2"], keeping the
latest 5 so abandoned sign-ins can't fill a cookie session. The
callback takes the sign-in for its state, whether it succeeds or fails.

It still writes omniauth.state, omniauth.redirect_uri, and
omniauth.pkce.verifier for the latest sign-in, and falls back to them
when no stored sign-in matches, so provider gems and tests that set
them keep working. Removing them is left for v2:
https://github.com/omniauth/omniauth-oauth2/issues/196

Fixes https://github.com/omniauth/omniauth-oauth2/issues/195

34 of 34 branches covered (100.0%)

Branch coverage included in aggregate %.

33 of 33 new or added lines in 1 file covered. (100.0%)

130 of 130 relevant lines covered (100.0%)

30.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39814294397.1 22 Oct 2026 04:30PM UTC 2
100.0
GitHub Action Run
Source Files on build 39814294397
  • Tree
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39814294397
  • 48ed1d5d on github
  • Prev Build on master (#39809210010)
  • Next Build on master (#39822543344)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc