Open
Description
I have submitted the wrong JWT to my server, and my server responds with an 'error', and sends a JSON object as a result instead of emitting 'unauthorized'. The instructions say to do this:
Client side:
Add a callback client-side to execute socket disconnect server-side.
socket.on('unauthorized', function(error, callback) {
This .on('unauthorized') on my client never gets called, however the .on('error') gets called.