mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-11-09 00:22:38 -06:00
Over https the refresh cookie used SameSite=None. CORS allows localhost origins by default for the desktop app, so a page on any localhost port could refresh a session with the user's cookie and read the new token. The cookie is now always SameSite=Lax. SameSite=None existed for the desktop app's cookie refresh, which it replaced with OAuth over IPC in v2.3.0. Changelog: - Desktop v2.2.x has to log in again more often; upgrade to v2.3.0 or later. - Deployments with the frontend and API on different registrable domains lose cookie refresh, as before v2.2.0.