Files
letro-authentication-service/crates
Quentin Gliech c508c7899e Fix FK constraint to preserve backchannel logout chain
Change compat_sessions.user_session_id FK from ON DELETE SET NULL to ON DELETE NO ACTION. This prevents deletion of user_sessions while compat_sessions still reference them, which is critical for backchannel logout propagation.

When an upstream IdP sends a backchannel logout, MAS must trace through:
  upstream_oauth_authorization_sessions -> user_sessions -> compat_sessions

If user_session_id links are SET NULL, logout propagation fails.

Uses two-step migration (DROP+ADD NOT VALID, then VALIDATE) to minimize table locking during deployment.
2026-01-22 15:44:57 +01:00
..
2025-12-19 18:13:01 +00:00
2025-12-09 12:37:56 -07:00
2025-11-06 09:20:20 +00:00
2025-10-20 16:42:01 +01:00
2025-08-18 10:45:20 +02:00
2025-08-20 18:22:21 +02:00
2025-08-20 18:22:21 +02:00
2025-12-09 12:37:56 -07:00
2025-12-17 15:53:00 +01:00