43ad9287
bearer: say what IsRefusal does not answer for
A service whose own refusals do not wrap these sentinels sends its "bad token" into the else branch of the guard the doc suggests, and answers 503 to a caller whose credential really was the problem. One of the six hit this while adopting it.
Eugene Blikh <bigbes@gmail.com> — 2026-08-08 21:53:12 UTC
Commit 43ad9287cc063fc6a74e1398a3a8b642631cbcae —
view raw patch
Parent(s):
9a97b126
| File | Status | + | − |
|---|---|---|---|
bearer/status.go
|
M | +7 |