Add auth expiry interceptor and session-expired redirect

This commit is contained in:
2026-04-19 20:31:49 +02:00
parent d0991e0d40
commit cc8c71906f
8 changed files with 164 additions and 1 deletions

View File

@@ -111,7 +111,7 @@ Issues are grouped by category and ordered roughly by severity. Each entry descr
---
### TASK-006 — No 401 interceptor: expired sessions show broken pages instead of redirecting
### TASK-006 — No 401 interceptor: expired sessions show broken pages instead of redirecting (done)
**Where found:** `frontend/src/api/client.ts`, `request` function. All non-2xx responses including 401 are thrown as a generic `ApiError`. Consumers render "Failed to load…" messages instead of redirecting.