diff --git a/docs/contracts.md b/docs/contracts.md index c910d5a..f08fbad 100644 --- a/docs/contracts.md +++ b/docs/contracts.md @@ -102,7 +102,7 @@ token), keyed by `sub`, and stores `sid` beside it. The app does not call `im` a `events: {"http://schemas.openid.net/event/backchannel-logout": {}}`, and `sid` (and `sub`). For "disable" and "delete" it carries only `sub`, which means "every session of this user". - The app validates it like an ID token (no `nonce`; it must carry `events` and must not carry `nonce`), - rejects a reused `jti` for 10 minutes, deletes the matching local sessions, and answers `200` with an empty + records each `jti` for 10 minutes (a repeat is already applied: it changes nothing and answers `200`), deletes the matching local sessions, and answers `200` with an empty body. Any other answer is a failure. - `im` delivers through a durable outbox: retries with backoff (10 s, 30 s, 1 min, 5 min, then every 15 min) for 24 hours. Combined with the 12-hour local session cap (2.4), a missed delivery cannot keep a revoked