A repeated logout jti answers 200
Browse files at this commit67e1cceb6f7b4e07a239b03932e7c072add874ffParent: 7742ceb- docs
- a repeated logout jti answers 200
1 changed file +1 -1
- docs/contracts.md +1 -1
docs/contracts.mdmodified+1 -1
| @@ -102,7 +102,7 @@ token), keyed by `sub`, and stores `sid` beside it. The app does not call `im` a | ||
| 102 | 102 | `events: {"http://schemas.openid.net/event/backchannel-logout": {}}`, and `sid` (and `sub`). For "disable" and |
| 103 | 103 | "delete" it carries only `sub`, which means "every session of this user". |
| 104 | 104 | - The app validates it like an ID token (no `nonce`; it must carry `events` and must not carry `nonce`), |
| 105 | - rejects a reused `jti` for 10 minutes, deletes the matching local sessions, and answers `200` with an empty | |
| 105 | + 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 | |
| 106 | 106 | body. Any other answer is a failure. |
| 107 | 107 | - `im` delivers through a durable outbox: retries with backoff (10 s, 30 s, 1 min, 5 min, then every 15 min) |
| 108 | 108 | for 24 hours. Combined with the 12-hour local session cap (2.4), a missed delivery cannot keep a revoked |