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

yylego / kratos-custom-auth / 42890914607
96%

Build:
DEFAULT BRANCH: main
Ran 10 Nov 2026 08:01PM UTC
Jobs 3
Files 1
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

10 Nov 2026 08:00PM UTC coverage: 95.833% (+95.8%) from 0.0%
42890914607

push

github

yyle88
Drop the debug switch and span hooks, and add tests that run an HTTP Kratos service

- Drop WithDebugMode: each match and auth outcome is a slog Debug record, and the slog setup decides if it shows
- Drop WithNewSpanHook, since the tracing middleware that Kratos ships covers request tracing
- Return at once on a context with no transport, so the auth steps read top to bottom
- Add tests that start an HTTP Kratos service: a valid token reaches the handle func with the account, a missing token gets 401, a wrong token gets what the check func returns, and a route outside the scope needs no token
- Write a complete README sample: the route scope, a check func that puts the account into the context, and the HTTP setup
- Require Go 1.26 to match the current grpc, and bump the dependencies
- Align .gitignore, the release workflow and the README template blocks with the current templates

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

15 of 17 new or added lines in 1 file covered. (88.24%)

46 of 48 relevant lines covered (95.83%)

12.42 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
95.83
95.83% customkratosauth/custom_kratos_auth.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.26.x - 42890914607.1 10 Nov 2026 08:04PM UTC 1
95.83
GitHub Action Run
2 Go-stable - 42890914607.2 10 Nov 2026 08:01PM UTC 1
95.12
GitHub Action Run
3 Go-1.27.x - 42890914607.3 10 Nov 2026 08:01PM UTC 1
95.12
GitHub Action Run
Source Files on build 42890914607
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • df117fcb on github
  • Prev Build on main (#28313929053)
  • Next Build on main (#44892994541)
  • Delete
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