Files
DocsGPT/application
Alex 321d88d5be fix(oidc): close re-review gaps in the hardening commit
Follow-up to the OIDC security hardening, from a max-effort re-review:

- Refresh now re-checks the denylist immediately before minting, against the
  (possibly remapped) identity but anchored on the original session `iat` — so a
  back-channel logout / SCIM deny that lands during the IdP grant, or one
  targeting the refreshed sub/sid, still blocks renewal instead of being escaped
  by the renewed token's fresh iat. Completes the watermark revocation fix.
- SCIM PUT `userName` immutability check is now case-insensitive, matching the
  case-insensitive list/create — a differently-cased userName echo no longer
  400s "userName is immutable" and blocks deprovision. Completes the SCIM
  case-insensitivity fix.
- Drop the unconditional state-cookie deletion on every callback exit: it let
  one tab's callback clear another in-flight tab's cookie, breaking concurrent
  logins. The cookie self-expires (max_age) and the Redis state is single-use,
  so the delete wasn't needed.

Tests added for the refresh revocation re-check and the case-insensitive PUT.
2026-06-10 14:15:32 +01:00
..
2026-05-15 12:23:31 +01:00
2026-05-26 15:48:04 +01:00
2026-03-25 22:34:25 +00:00
2026-04-18 13:13:57 +01:00
2026-06-08 22:02:21 +01:00
2026-03-17 14:27:48 +00:00
2026-03-25 00:03:42 +00:00
2026-04-25 14:57:37 +01:00
2026-05-05 01:55:23 +01:00
2026-04-12 00:07:24 +01:00
2026-06-08 22:02:21 +01:00
2026-05-15 12:23:31 +01:00
2026-06-08 15:07:31 +01:00
2026-06-08 15:07:31 +01:00
2026-04-28 02:27:02 +01:00
2026-05-22 16:05:03 +01:00
2026-05-31 18:00:51 +02:00
2026-04-27 22:09:33 +01:00
2026-05-23 02:39:20 +01:00
2026-05-22 16:05:03 +01:00