|
Fix WebSocket 403 by accepting before access check
- websocket.py: move await websocket.accept() before check_session_access so auth failures close the WebSocket with 4003 instead of returning HTTP 403 on the upgrade request - Reject anonymous WebSocket connections explicitly (4003) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
|---|
|
|
| navi/api/websocket.py |
|---|