Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Sessions #8

Open
lhl opened this issue Aug 5, 2024 · 0 comments
Open

Better Sessions #8

lhl opened this issue Aug 5, 2024 · 0 comments

Comments

@lhl
Copy link
Owner

lhl commented Aug 5, 2024

Right now sessions get assigned by UUID attached to a websocket.

However, that means if we establish a new websocket due to a disconnection, we lose our conversation history.

We should story the UUID that's generated, and on the client, if we need to generate a new socket, we should be able to pass and reconnect to our old UUID.

This is a multi-user security issue, so needs to have a signature (JWT?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant