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
Owner

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.

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.
victor added 1 commit 2026-06-15 06:58:02 +00:00
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>
victor merged commit 5f3ea04469 into main 2026-06-15 06:58:38 +00:00
victor deleted branch fix-auth-panel-stuck-checking 2026-06-15 06:58:38 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: victor/mydev#1
No description provided.