Now, I am improving my tornado skills and asking a question about user authorization.
And my solution is to create a secure token on the first page, and then send it with other data, from javascript to the tornado server, where user checks and authorizations are performed.
I think about cookies, but I do not know how I can read cookies in WebSocketHandler.on_message
What do you think? and where am I mistaken? Thanks
python authentication tornado
yessi
source share