You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(auth): revalidate session on WS heartbeat #124
WebSocket connections authenticate once at handshake (#122) and stay open even if the session row is deleted or the user deactivated. Re-check the session on each heartbeat and close with 4401/4403 when it no longer validates.
Why
Deletion/deactivation currently only takes effect on the next HTTP request; long-lived sockets bypass it.
Scope
Session lookup in the heartbeat path
Close codes 4401 (gone session) / 4403 (deactivated user)
Activity
Svagtlys commentedon Oct 12, 2026
Duplicate of #127 (revalidate session on WS heartbeat). Consolidating into #127.