You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Worker.js: var authToken = socket.request.url.split('authToken=');
I'm not really sure the best way to do 4 and 5. Seems like this has already been solved, I just don't know where to find it :-) Adding a JWT wrapper on this seems like overkill.
I'd really like to not have a working JWT token and an expired app authToken.
Any tips?
The text was updated successfully, but these errors were encountered:
Hi, I'm using SocketCluster in a Chrome extension to setup a side channel for notifications.
My web app already logs in and saves a token on the client.
I'm looking for a pattern that fills in the ? marks.
So far, I'm using:
socket = socketCluster.connect({ query: { authToken }, });
var authToken = socket.request.url.split('authToken=');
I'm not really sure the best way to do 4 and 5. Seems like this has already been solved, I just don't know where to find it :-) Adding a JWT wrapper on this seems like overkill.
I'd really like to not have a working JWT token and an expired app authToken.
Any tips?
The text was updated successfully, but these errors were encountered: