Description
We successfully implemented the /ws/alerts WebSocket endpoint for real-time notifications. However, it is currently fully open. While this is fine for a public alert broadcast, we should prepare to authenticate connected clients to ensure we aren't allowing millions of unauthorized zombie connections to drain our server memory.
Task List
Description
We successfully implemented the
/ws/alertsWebSocket endpoint for real-time notifications. However, it is currently fully open. While this is fine for a public alert broadcast, we should prepare to authenticate connected clients to ensure we aren't allowing millions of unauthorized zombie connections to drain our server memory.Task List
tests/test_websocket_broadcast.pyto include the required authentication headers/tokens.