Is there a way to perform authentication of the clients? Here is an example of socketionode server http://howtonode.org/socket-io-auth
I plan to implement this feature.
Is there any way I can help/collaborate with the implementation of this feature? I would like to learn and understand socket.io authorization so it would be great to help if I can
"pull requests" are always welcome! Like it was done in #29 by JulianH. Or you may suggest any ideas about implementation of this feature.
session authentication implemented by Express HTTP server which used by Socket.IO. So this functionality is not a part of Socket.IO specification - https://github.com/LearnBoost/socket.io-spec
Sorry Nikita, but from the explanation in first post, there's a link to Socket.IO's page describing Authorization (see https://github.com/LearnBoost/socket.io/wiki/Authorizing). It seems to me that all references there to actions/responsibilities of Socket.IO server should be translated into actions/responsibilities this server needs to provide/implement. I'm using this library as the socket.io server, along with a custom HTTP server based on Netty as well, so I'm not going to use Express ever in such scenario
Am I missing something?
Already been implemented authentication / authorization?
How to handle handshake on session?
What do you mean "handshake on session"? handshake performs automatically during connection
AuthorizeHandler can export some interface for session authorizing? cosider this case: front end also have cookie(global web site),he sends cookie info.to socketio server ,it according to some business logic to deciding whether produce session id.
finish this feature?
mrniko, how can we get this feaure or maybe how can we deal with session control with user cookies?
Stay tuned guys! i almost finished this feature
authroziation listener. Issue #48
Done! You could test it with version from master.
@vongosling i face the same issue, need get the cookies passed from web. and then authorizing,
Could you show some code ? and in the web how to pass the cookies into the handshakeData?