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

yylego / kratos-static-auth / 44893399967
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.3
DEFAULT BRANCH: main
Ran 21 Nov 2026 10:15AM UTC
Jobs 3
Files 2
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

21 Nov 2026 10:05AM UTC coverage: 98.864% (+0.08%) from 98.788%
44893399967

push

github

yyle88
Build auth faults with callbacks, reject a token shared between two usernames

- WithMissingErk and WithInvalidErk take a func(ctx) that builds the Kratos fault
- Panic at startup when two usernames share one token and the simple type is enabled
- Rename GetFieldName to FieldName, GetSimpleTokens to SimpleTokens, GetBase64Tokens to Base64Tokens
- Replace SetUsername and GetUsername with NewContext and FromContext
- Rewrite log wording, comments and both README files
- Refresh dependencies

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

35 of 36 new or added lines in 1 file covered. (97.22%)

174 of 176 relevant lines covered (98.86%)

33.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.79
0.09% statickratosauth/static_kratos_auth.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.26.x - 44893399967.1 21 Nov 2026 10:15AM UTC 2
98.86
GitHub Action Run
2 Go-1.27.x - 44893399967.2 21 Nov 2026 10:15AM UTC 2
98.62
GitHub Action Run
3 Go-stable - 44893399967.3 21 Nov 2026 10:15AM UTC 2
98.62
GitHub Action Run
Source Files on build 44893399967
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 649cfc30 on github
  • Prev Build on main (#42890615527)
  • 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