Files
vikunja/pkg/websocket
kolaente b5f27803b1 feat(websocket): re-authenticate open sockets with a renewed token
Sockets closed at their token's expiry even after the client renewed,
forcing a reconnect and losing events in the gap. A second auth on an
open socket must match its user and session and re-runs the session
check before the expiry timer moves. The client sends the renewed token
on the open socket after every refresh, schedules the proactive refresh
for a session that existed before mount, and refreshes a token expiring
within seconds before authenticating, since its server clock can lag by
up to a second.
2026-10-02 19:08:02 +02:00
..
…