fix: show re-auth needed when AWS session expired #1

Merged
victor merged 1 commits from fix-auth-panel-stuck-checking into main 2026-06-15 06:58:38 +00:00

1 Commits

Author SHA1 Message Date
40a435fdfc fix: show re-auth needed when AWS session expired
The dashboard auth panel only had branches for authed and awsmfa-error,
so an expired session (awsmfa prints "Not authenticated.", Authed=false,
Err="") fell through to the "checking…" spinner and appeared stuck.

Add an authChecked flag to distinguish "not yet checked" from "checked,
not authed", and render "re-auth needed" for any non-authed result.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 08:55:55 +02:00