mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-05-29 15:09:48 +00:00
The cookie-based /user/token/refresh handler had session refresh logic (lookup, expiry check, token rotation, user fetch, JWT generation) that will be reused by the OAuth token endpoint. Extract it into auth.RefreshSession() and rewrite RefreshToken to use it.