Open
Description
openedon Sep 22, 2024
Description
At the moment, when an access token expires, the WebSocker-Next server closes the connection.
Sometimes, it's a problem since a token life span can be very short (a few minutes) and reconnection can be expensive.
Is it possible to think of some mechanism that allows the client to refresh the token before it expires and not close the websocket connection?
Implementation ideas
Maybe a PATCH request to the same WebSocket endpoint to update the access token can be a solution?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment