mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-11-09 00:22:38 -06:00
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.