FrostDigital / fruster-api-gateway

MIT License
0 stars 0 forks source link

[FEATURE] Websocket requests #41

Closed Florry closed 7 years ago

Florry commented 7 years ago
Florry commented 7 years ago

One thought: Should we save userId with the socket connection rather than the JWT token and just fetch the user directly on each request? (Better performance and no jwt tokens stored anywhere, albeit just in memory) 🤔 EDIT: Although then a connection could outlive the jwt token 🤔