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

go-pkgz / auth / 45568993609
89%

Build:
DEFAULT BRANCH: master
Ran 25 Nov 2026 07:35AM 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 07:32AM UTC coverage: 88.597% (+0.7%) from 87.876%
45568993609

push

github

web-flow
Check user routes like Auth, clear rejected cookies, fix provider edge cases (#340)

* Clear rejected cookies, complete Telegram logins, fix provider mapping

Previously, when the Validator or the provider check rejected a token,
Auth and Trace wrote the response before calling Reset, so the expiring
cookies were added after the headers had gone out and never reached
the client. Reset now runs first, but only when the rejected token is
the request's session cookie. Get reads query and header tokens before
cookies, so rejecting a different token from either source must leave
the session intact; otherwise a link carrying a blocked token would
sign out whoever opens it. The Content-Type that Reset sets for
logout responses is put back as it was, so the error handler, or the
handler behind Trace, still decides the response type.

The token refresh debug line logs the user ID instead of the whole
user.

token.Service.Token panicked with an index out of range on claims
without an audience; it now returns an error.

The Telegram provider confirmed a request that had expired but was not
yet swept, so the user was told about a success the site then refused,
and it dropped the whole login when the avatar lookup failed. An
expired request now gets ErrorMsg, and a failed avatar lookup is logged
and the login completes without a picture. Send escaped the message
with url.PathEscape, which leaves & and + alone, so a message holding
them arrived cut short or altered; it now uses url.QueryEscape.

The verify provider split the handshake id on every "::", so a user
name containing it was sent a confirmation that could never be
redeemed. The id is now split on the last "::", and an address that
contains "::" or starts with ":" is refused before anything is sent,
so the split is never ambiguous.

The dev server built its /user response with fmt.Sprintf, so a user
name with a quote or a backslash produced invalid JSON and a 500 on the
callback. The response is now encode... (continued)

146 of 146 new or added lines in 9 files covered. (100.0%)

3644 of 4113 relevant lines covered (88.6%)

15.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45568993609.1 25 Nov 2026 07:35AM UTC 25
88.6
GitHub Action Run
Source Files on build 45568993609
  • Tree
  • List 25
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a3d424a3 on github
  • Prev Build on master (#45463948547)
  • Next Build on master (#45568993530)
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