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

alexferl / zerohttp / 23725360712
94%

Build:
DEFAULT BRANCH: master
Ran 30 Mar 2026 02:31AM UTC
Jobs 1
Files 91
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

30 Mar 2026 02:30AM UTC coverage: 93.844% (-0.01%) from 93.854%
23725360712

push

github

web-flow
feat(jwtauth): add cookie support with HttpOnly refresh tokens (#156)

* feat(jwtauth): add cookie support with HttpOnly refresh tokens

Add CookieConfig with secure defaults (HttpOnly, Secure, SameSite=Strict).
Add SetCookie/SetRefreshCookie/DeleteCookie helpers and cookie extractors.
Fix RefreshTokenHandler to not copy refresh token claims to access tokens.

Add jwtauth_cookie example demonstrating:
- HttpOnly cookies for XSS protection
- Separate access_token (Path: /) and refresh_token (Path: /auth) cookies
- CSP nonce integration for inline scripts/styles
- Token refresh and logout flows with automatic cookie handling

Signed-off-by: alexferl <me@alexferl.com>

* increase coverage

Signed-off-by: alexferl <me@alexferl.com>

* increase coverage

Signed-off-by: alexferl <me@alexferl.com>

---------

Signed-off-by: alexferl <me@alexferl.com>

186 of 206 new or added lines in 1 file covered. (90.29%)

5 existing lines in 3 files now uncovered.

10229 of 10900 relevant lines covered (93.84%)

541.0 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
96.07
-1.1% middleware/jwtauth/jwt_auth.go

Coverage Regressions

Lines Coverage ∆ File
2
94.72
-0.56% metrics/metrics.go
2
97.26
-2.74% validator/registry.go
1
89.43
-0.19% server.go
Jobs
ID Job ID Ran Files Coverage
1 23725360712.1 30 Mar 2026 02:31AM UTC 91
93.84
GitHub Action Run
Source Files on build 23725360712
  • Tree
  • List 91
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23725360712
  • fd1c3a10 on github
  • Prev Build on master (#23719886044)
  • Next Build on master (#23857283775)
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