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
Browsers cannot set an X-CSRF-Token header on a WebSocket upgrade; csrf.go:23-29CSRFTokenValidator requires it for upgrades on /ws, so legitimate browser WS connections may be blocked.
Acceptance Criteria
Allow WS upgrade with a suitable auth mechanism (e.g. token query/header, Origin check)
Summary
Browsers cannot set an
X-CSRF-Tokenheader on a WebSocket upgrade;csrf.go:23-29CSRFTokenValidatorrequires it for upgrades on/ws, so legitimate browser WS connections may be blocked.Acceptance Criteria
Complexity
High.