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

go-pkgz / auth / 24808551998
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v2.1.2
DEFAULT BRANCH: master
Ran 22 Apr 2026 11:48PM UTC
Jobs 1
Files 24
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 Apr 2026 11:42PM UTC coverage: 84.247% (-0.4%) from 84.66%
24808551998

push

github

web-flow
Merge commit from fork

The Patreon provider was hashing userInfo.ID (the uninitialized
destination field on a freshly created token.User), not the Patreon
account ID from the response. Every Patreon login therefore produced
the same local user ID: "patreon_" + sha1(""), i.e.
patreon_da39a3ee5.

That meant all Patreon-authenticated users on an application using
this library collapsed into a single local identity, allowing any
Patreon user to be treated as any other Patreon user on the same app.

Hash uinfoJSON.Data.ID instead, which is the Patreon numeric account
ID that the struct was already unmarshaling. Update the two existing
assertions that baked in the old constant, and add a regression test
that two distinct Patreon account IDs produce two distinct local IDs.

Applied to both the v1 (provider/) and v2 (v2/provider/) module paths.

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

2706 of 3212 relevant lines covered (84.25%)

7.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24808551998.1 22 Apr 2026 11:48PM UTC 24
84.25
GitHub Action Run
Source Files on build 24808551998
  • Tree
  • List 24
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c0b15ee7 on github
  • Prev Build on master (#24744987298)
  • Next Build on refs/tags/v1.25.2 (#24808551995)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc