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

go-pkgz / auth / 45229164930
89%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2026 05:36PM UTC
Jobs 1
Files 25
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

23 Nov 2026 05:34PM UTC coverage: 87.84% (+0.5%) from 87.33%
45229164930

push

github

umputun
Refuse a login when a built-in provider answers without a user id

The built-in mappers built the user id as a prefix plus token.HashID of
a field of the provider's answer without checking that the field was
there. A successful answer without the id hashed an empty string, so
every such login became the same user. In both modules the mappers now
return an empty ID when the id field is missing, null or empty. GitHub
keeps its login fallback and, with GithubNumericID enabled, accepts a
numeric id without a login. The callbacks refuse a user with an empty ID
with 503 and issue no session; the OAuth 1.0a callback, used by the
twitter provider, gets the same refusal the OAuth 2.0 callback has.

Ids of existing users do not change: when the id is present, the same
value is hashed as before.

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

2 existing lines in 1 file now uncovered.

3453 of 3931 relevant lines covered (87.84%)

12.79 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
88.36
-0.42% provider/telegram.go
Jobs
ID Job ID Ran Files Coverage
1 45229164930.1 23 Nov 2026 05:36PM UTC 25
87.84
GitHub Action Run
Source Files on build 45229164930
  • Tree
  • List 25
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a9bcb07e on github
  • Prev Build on master (#45229100533)
  • Next Build on master (#45229164412)
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