Loading issues
Rían: low-risk app, signing in again every couple of days isn't worth it.
tasklie-ui sessions are ordinary Keycloak SSO sessions: 14 days idle, 30 days maximum, and no one uses "remember me". Before PAR-559 the app also reused the login-time refresh token, so activity never extended anything.
offline_access at login. The client already allows the optional scope, and default-roles-tasklie already grants the role. An offline token isn't bound to the SSO session's idle and maximum limits: the realm's offline sessions expire after 30 days unused and have no maximum lifespan. PAR-559's middleware saves every renewed token, so each visit resets the timer. Net effect: you only sign in again after 30 days away.events.signOut), so a long-lived token can't outlive a deliberate sign-out.offline_access.
PR open: https://github.com/ParadauxIO/taskl.ie/pull/172 (stacked on #170 / PAR-559).
Sign-in now asks for
offline_access, and the session cookie's lifetime is 30 days rolling. Sign-out revokes the token at Keycloak, best effort. No realm changes. Unit tests drive the real Auth.js flows, and the real realm accepts the scope fortasklie-ui. Lint, typecheck and unit tests pass.