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
When a user is logged out, I would expect the websocket to somehow be disconnected, and then reconnected with the new credentials when logged in again. But in reality, the same websocket connection is used for different users, what makes the subscription problematic in terms of authentication.
Can you offer a way to "reconnect" with new cookie/token?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I use graphql subscription through websocket, with VueApollo.
When a user is logged out, I would expect the websocket to somehow be disconnected, and then reconnected with the new credentials when logged in again. But in reality, the same websocket connection is used for different users, what makes the subscription problematic in terms of authentication.
Can you offer a way to "reconnect" with new cookie/token?
Beta Was this translation helpful? Give feedback.
All reactions