Not so easy to say without seeing your whole project, but under this in my examples it is listening to ‘authenticate’. The listening is done inside NodeJS.
// When authenticated, send back name + email over socket
Below this comment in my article, it shows that it will get the decoded info and send back the name & email to the socket / browser. In the console it should show it (on the browser) and in the console running NodeJS it should show you the decoded token.
I’m not sure where it is going wrong, but if you can share some code I might be able to see.