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

omniauth / omniauth-oauth2 / 39718489164
100%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2026 03:47AM 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 03:44AM UTC coverage: 100.0%. Remained the same
39718489164

push

github

sferik
Fail instead of crashing when there's no access token

With raise_errors off in client_options, oauth2 returns nil from
get_token when the token response is empty or not a JSON object, and
the callback raised NoMethodError calling expired? on it. Fail with
invalid_credentials instead. Getting and refreshing the token moves
into fetch_access_token, which keeps callback_phase within RuboCop's
limits.

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

22 of 22 branches covered (100.0%)

Branch coverage included in aggregate %.

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

102 of 102 relevant lines covered (100.0%)

15.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39718489164.1 22 Oct 2026 03:47AM UTC 2
100.0
GitHub Action Run
Source Files on build 39718489164
  • 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 #39718489164
  • 38d97e4e on github
  • Prev Build on master (#39711074742)
  • Next Build on master (#39726047255)
  • 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