Replies: 1 comment 1 reply
-
@McToel the socket.io client is connected over WebSocket. There is no support for sending or updating cookies. Have you read the documentation? In particular the sections that discuss how the user session works under Socket.IO and how to use Flask-Login? There is also a code example in this repository called |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use Flask-SocketIO and Flask-Login together with socket.io-client. However, the current_user in SocketIO functions is always anonymous. I think the reason for this is, that socket.io-client does not send the session cookie.
Any Ideas on how to solve this?
Beta Was this translation helpful? Give feedback.
All reactions