|
Session death drops the SPA onto the sign-in screen without a reload
Any 401 from any API call fires gncreds:unauthenticated; the App listens and switches to the internal sign-in card immediately, so a finished session (global auth logout, TTL, revoked session) is visible at once instead of letting the app look alive while every request fails. api.js also stops retrying 4xx answers — only network errors and 5xx are retried, so a dead session is not re-sent three times with backoff. Co-Authored-By: Claude Code <noreply@anthropic.com> |
|---|
|
|
| frontend/src/App.vue |
|---|
| frontend/src/api.js |
|---|