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

Improve session handling #682

Merged
merged 9 commits into from
Dec 6, 2024
Merged

Conversation

goto-bus-stop
Copy link
Member

@goto-bus-stop goto-bus-stop commented Dec 5, 2024

Closes #671

Todos:

  • Remove uwsession (/ change the value to express-session's connect.sid)
  • JWT auth should probably not use passport.authenticate(), as it creates a new session every request
  • Test propagating missing messages for lost connection

@coveralls
Copy link

coveralls commented Dec 6, 2024

Coverage Status

coverage: 85.316% (+1.0%) from 84.36%
when pulling 2412d9f on lost-connection-by-session-id
into 01ac084 on default.

The main point is to allow the tests to continue to use JWT auth,
while also testing session features such as missing messages for lost
connections
@goto-bus-stop goto-bus-stop merged commit 77b4633 into default Dec 6, 2024
14 checks passed
@goto-bus-stop goto-bus-stop deleted the lost-connection-by-session-id branch December 6, 2024 15:11
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

Successfully merging this pull request may close these issues.

Remove custom session cookie handling
2 participants