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

omniauth / omniauth / 39815554731
100%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2026 04:37PM UTC
Jobs 1
Files 19
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:37PM UTC coverage: 100.0%. Remained the same
39815554731

push

github

sferik
Let strategies keep several sign-ins' origins apart

The session holds one omniauth.origin and omniauth.params, so starting
a second sign-in before the first finished, in another tab for
example, gave the first one's callback the second one's origin and
params.

A strategy whose provider sends a value from the request phase back to
the callback, such as OAuth 2.0's state, can now opt in: its request
phase calls remember_sign_in with the value, and it overrides
callback_sign_in_key to return it from the callback. OmniAuth stores
the origin and params of the latest 5 sign-ins under their keys in
session["omniauth.sign_ins"] and gives each callback its own.

omniauth.origin and omniauth.params still hold the latest sign-in, and
the callback falls back to them when its key isn't remembered, so
strategies that don't opt in, and apps and tests that set these keys,
work as before.

This is the core half of
https://github.com/omniauth/omniauth-oauth2/issues/195

201 of 201 branches covered (100.0%)

29 of 29 new or added lines in 2 files covered. (100.0%)

711 of 711 relevant lines covered (100.0%)

126.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39815554731.1 22 Oct 2026 04:37PM UTC 19
100.0
GitHub Action Run
Source Files on build 39815554731
  • Tree
  • List 19
  • 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 #39815554731
  • 4905b901 on github
  • Prev Build on master (#39805118616)
  • Next Build on master (#39816915290)
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