You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add configurable sessionIdleTimeoutMs (default 30 min) on the platform security settings.
On each authenticated request, compare now - session.updatedAt; invalidate if exceeded. Better Auth supports this via session.expiresIn + updateAge — confirm usage in services/platform/convex/auth.ts.
Add a client-side idle hook that signs out the current tab when idle for the configured duration (prevents stale tabs displaying sensitive data).
Acceptance criteria
After 30 min of inactivity, the next request returns 401 and the user is redirected to login.
Client tab auto-signs-out after the configured idle duration.
Setting is configurable by org admin in Settings → Security.
Triaged — valid feature, keeping open. Confirmed there's currently no idle-timeout configuration in convex/auth.ts / convex/betterAuth/auth.ts (Better Auth defaults apply; the only bound is the absolute session expiry). This would add a configurable idle window with server-side enforcement plus a client tab watchdog. Assigned to me.
Activity
yannickmonney commentedon May 31, 2026
Triaged — valid feature, keeping open. Confirmed there's currently no idle-timeout configuration in
convex/auth.ts/convex/betterAuth/auth.ts(Better Auth defaults apply; the only bound is the absolute session expiry). This would add a configurable idle window with server-side enforcement plus a client tab watchdog. Assigned to me.feat(platform): server-side session idle timeout
fix(platform): address CodeRabbit review on #1502 session idle timeout
feat(platform): org-configurable session idle timeout (#1502) (#1819)
feat(platform): enforce session idle timeout server-side (#1502) (#1862)