fix(app): failed sign-out reported (local session still cleared); reauthentication_needed phrased; docs(docs): exact production redirect allowlist

This commit is contained in:
bchanot committed 2026-10-11 23:45:14 +02:00
1 parent 1aed64b4ef
commit 9771d997f4
7 files changed
+29 -5

No files matched your search

@@ -15,6 +15,9 @@ export default function SignOutButton({ className = '' }: { className?: string }
setBusy(true)
try {
await signOut()
} catch {
// The local session is cleared either way; the server may not have revoked the others.
window.alert(t('shell.sign_out_failed'))
} finally {
// The guard would redirect anyway; going home keeps the local tool one step away.
navigate('/', { replace: true })