Learn to implement token-based authentication using Socket.IO in this quick tutorial. Introduction Authentication in realtime frameworks can be challenging. Perhaps this is because the way these systems work is quite different from a regular web app. The risk of not correctly authenticating your sockets traffic is that you could end up sniffing information on other users streams. The socket server
![Token-based Authentication with Socket.IO](https://cdn-ak-scissors.b.st-hatena.com/image/square/3b68a9648ad41028df09ea4b26ea17a225e44fed/height=288;version=1;width=512/https%3A%2F%2Ffanyv88.com%3A443%2Fhttp%2Fassets.auth0.com%2Fblog%2Fdesign-process%2Fsocket-io.png)