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

go-pkgz / auth / 45664351901
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: docs-followup-341
DEFAULT BRANCH: master
Ran 25 Nov 2026 05:25PM 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

25 Nov 2026 05:21PM UTC coverage: 88.193% (-0.4%) from 88.597%
45664351901

Pull #344

github

umputun
Check dev users first in the example, fix README claims left after #341

The example's Validator matched user id prefixes before the dev name
check. Dev ids are the bare typed names, so a dev user named
email_alice or custom123_x passed the dev_ rule. The signed provider
name now decides first. The bitbucket endpoint comes from
golang.org/x/oauth2/bitbucket, the same URLs, which gosec read as
hardcoded credentials.

README and example README fixes:
- a dev user without the dev_ prefix gets 401 and cleared cookies on
  the first authenticated request, not only on /private_data
- User.Audience is filled by Get, not by Parse or the login response
- TokenDuration applies to tokens issued through Set; a token signed
  with TokenService().Token gets no expiry unless ExpiresAt is set
- the default custom server login page also asks for a password
- an empty Telegram base URL selects the public API
- the service's own hostname accepts any port even when Opts.URL names
  one
- the reverse proxy case is labelled as not supported
- a restart forgets redeemed verify tokens with the default in-memory
  store, in the README and AGENTS.md, which closes that backlog item

The Opts.AudienceReader comment in both modules says nil allows any
audience and an empty list rejects every token, as checkAuds does.

New backlog items: aud from the login request is not proof of tenant
membership, a self-built handler must set claims.ID for the XSRF
check, and the LoginAuth comment still names outlook.com.
Pull Request #344: Check dev users first in the example, fix README claims left after #341

3533 of 4006 relevant lines covered (88.19%)

14.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45664351901.1 25 Nov 2026 05:25PM UTC 25
88.19
GitHub Action Run
Source Files on build 45664351901
  • Tree
  • List 25
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #344
  • PR Base - master (#45663084764)
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