harden: bind refresh to client, persist scope, gate barred owners (E2) #10

Merged
PerishFire merged 1 commit from e2 into main 2026-07-17 07:33:22 +00:00
Owner
No description provided.
harden: bind refresh to client, persist scope, gate barred owners (E2)
All checks were successful
guard / guard (pull_request) Successful in 2m31s
37e766597a
Refresh now binds to the issuing client (slug), refuses a mismatched or
missing client_id, checks the owner is not barred and the client still
exists, preserves the granted scope (no widening), and rotates via a
live-row CAS. Closes the red-team fix-first: a stolen refresh token no
longer outlives barring, client deletion, or rotation.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
PerishLab/ensign!10
No description provided.