heroku-python / flask-sockets

[DEPRECATED] Alternative: https://github.com/miguelgrinberg/flask-sock
MIT License
1.74k stars 164 forks source link

Authentication with flask-sockets #34

Open bhiwalakhil opened 8 years ago

bhiwalakhil commented 8 years ago

Is there a way I can use websockets over an authenticated connection?

Whenever a client sends data over websockets, I need to verify if that client is authenticated without disconnecting from websocket.

N0odlez commented 8 years ago

You can just check this with a flask session/cookie.