Open the interactive terminal dashboard for managing accounts, running diagnostics, and configuring settings.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ndycode/codex-multi-auth/llms.txt
Use this file to discover all available pages before exploring further.
Usage
What It Does
- Launches OAuth flow - Opens your browser to sign in with ChatGPT
- Manages existing accounts - View, switch, refresh, or delete accounts
- Health monitoring - Real-time quota and session status
- Settings configuration - Interactive settings editor
- Account deduplication - Automatically merges accounts by token/email/ID
Dashboard Hotkeys
Main Dashboard
| Key | Action |
|---|---|
Up / Down | Move selection |
Enter | Select/open |
1-9 | Quick switch to visible account |
/ | Search accounts |
? | Toggle help panel |
Q | Back/cancel |
Account Details
| Key | Action |
|---|---|
S | Set as current account |
R | Refresh/re-login account |
E | Enable/disable account |
D | Delete account |
Q | Back to main menu |
Settings Screens
| Key | Action |
|---|---|
Enter | Toggle/select option |
1-9 | Quick toggle numbered options |
S | Save changes |
R | Reset to defaults |
Q | Cancel without saving |
[ / ] | Reorder summary fields |
+ / - | Adjust numeric settings |
OAuth Flow Modes
Browser Mode (Default)
The CLI attempts to open your default browser automatically:Manual Mode
If browser launch fails or you prefer manual control:- Select “Copy URL and paste callback manually”
- The OAuth URL is copied to your clipboard
- Open the URL in any browser
- Complete the sign-in flow
- Copy the callback URL from the success page
- Paste it back in the terminal
- Full URL:
http://127.0.0.1:1455/auth/callback?code=...&state=... - Just the code:
abc123... - Query string:
?code=abc123&state=xyz
Account Deduplication
When you log in with an existing account, it’s automatically merged by:- Refresh token (highest priority)
- Account ID (from JWT)
- Email address (case-insensitive)
- Last used timestamp
- Custom account labels
- Health scores
- Rate limit tracking
Examples
First-time login
Add another account
Refresh existing account
OAuth Callback Server
The CLI starts a local HTTP server onhttp://127.0.0.1:1455 to receive OAuth callbacks.
Fixed port for OAuth callbacks. Cannot be changed (hardcoded in ChatGPT OAuth app registration).
Troubleshooting Port Conflicts
If port 1455 is already in use:Interactive Settings
From the main dashboard, select “Settings” to configure:- Display settings - Menu layout, colors, status badges
- Summary settings - Visible columns, sort order
- Behavior settings - Auto-refresh, session affinity
- Theme settings - Color scheme, glyphs, contrast
~/.codex/multi-auth/settings.json.
Press Q in settings to cancel without saving. Theme previews automatically restore on cancel.
Error Handling
Missing Browser
OAuth Callback Timeout
Token Exchange Failed
Related Commands
codex auth list- List all accounts without opening dashboardcodex auth status- Quick status summarycodex auth switch- Switch active account by indexcodex auth check- Health check all accounts
Storage Impact
This command writes to:~/.codex/multi-auth/openai-codex-accounts.json- Account pool~/.codex/multi-auth/settings.json- Dashboard preferences~/.codex/cli/state.json- Active account sync (Codex CLI)
.backup suffix before destructive operations.