From 67e1cceb6f7b4e07a239b03932e7c072add874ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 28 Oct 2026 11:50:07 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20a=20repeated=20logout=20?= =?UTF-8?q?jti=20answers=20200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/contracts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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