You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/features.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ User-facing capability map for `codex-multi-auth`.
9
9
| Capability | What it gives you | Primary entry |
10
10
| --- | --- | --- |
11
11
| Multi-account dashboard login | Add and manage multiple OAuth identities from one terminal flow |`codex auth login`|
12
+
| Onboarding backup restore | Restores the latest named backup or lets you choose a named backup manually when a fresh install or empty pool needs to recover saved accounts fast |`codex auth login`|
Copy file name to clipboardExpand all lines: docs/getting-started.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,11 +43,21 @@ codex auth login
43
43
44
44
Expected flow:
45
45
46
-
1. The dashboard opens in the terminal.
47
-
2. Choose `Add New Account`.
48
-
3. Complete the official OAuth flow in your browser.
49
-
4. Return to the terminal when the browser step completes.
50
-
5. Confirm the account appears in the saved account list.
46
+
Backup restore appears as `Restore Saved Backup` under the `Recover saved accounts` heading in the onboarding menu. This flow does not add any new CLI flags or npm scripts.
47
+
See upgrade note: [onboarding restore behavior](upgrade.md#onboarding-restore-note).
48
+
49
+
1. If no accounts are saved yet, the terminal opens directly to the sign-in menu.
50
+
2. Choose one of the sign-in options:
51
+
-`Open Browser (Easy)` for the normal OAuth flow
52
+
-`Manual / Incognito` when you need to paste the callback yourself
53
+
-`Restore Saved Backup` under the `Recover saved accounts` heading when the current pool is empty and at least one valid named backup exists under `~/.codex/multi-auth/backups` by default, or under `%CODEX_MULTI_AUTH_DIR%\backups` if you override the storage root with `CODEX_MULTI_AUTH_DIR`
54
+
3. If you choose `Restore Saved Backup`, the next menu lets you either:
55
+
- load the newest valid backup automatically
56
+
- pick a specific backup from a newest-first list
57
+
Empty, unreadable, or non-JSON backup sidecar files are skipped, so the menu entry appears only when at least one backup parses successfully and contains at least one account.
58
+
4. If you use browser or manual sign-in, complete the official OAuth flow and return to the terminal.
59
+
5. If you load a backup, the selected backup is restored, its active account is synced back into Codex CLI auth, and the login flow continues with that restored pool.
60
+
6. Confirm the restored or newly signed-in account appears in the saved account list.
0 commit comments