Security for for Agent Server Websockets: <https:/...
# proj-sdk
s
Security for for Agent Server Websockets: https://github.com/All-Hands-AI/agent-sdk/pull/486 🙏
w
didn't we solve query-param auth in our main server?
query param auth is bad, but I know websocket auth in general is hard
are we still using socketio?
(if not, I wonder if we should so the FE doesn't have to rework too hard...)
s
The solution here is a port of what we use in the existing app. I did not add socketio here so as to not add another dependency - it's use case is for clustering which we are not doing with the Agent Server - so the only thing socketio buys us is auto reconnect on the browser side - which is like 3 lines of code anyway.
w
that does make sense
ok sgtm
at some point we used subprotocol auth--that might be safer
nod 1