Repository navigation
Description
Bug Report: Codex Desktop Cannot Retrieve Account Authentication Information
Product: OpenAI Codex for Windows
Desktop Version: 26.1111.9664.0
Codex CLI Version: 0.169.1
Operating System: Windows
Date Observed: November 19, 2026
- Issue Summary
Codex Desktop displays a persistent orange warning:
"Account authentication unavailable: The desktop app could not retrieve usable account authentication information from the local Codex app-server. Sending messages and loading chats may be affected."
The desktop application cannot load chat history. Creating a new chat opens a window, but the input area keeps loading and I cannot send messages.
- Expected Behavior
Codex Desktop should retrieve account authentication information, load chat history, and allow me to create and send messages in new conversations.
- Actual Behavior
The desktop app remains stuck with an orange authentication warning.
Existing conversations do not load.
New Chat opens, but the input area keeps loading.
Messages cannot be sent.
- Troubleshooting Already Performed
Confirmed that ChatGPT authentication succeeds in Codex CLI.
Confirmed that the standalone CLI can successfully execute a model request.
Confirmed that the bundled CLI and standalone CLI are both version 0.169.1.
Confirmed that the desktop app automatically uses the standalone CLI executable.
Tested network and proxy settings, including Clash Plus and TUN mode.
Checked relevant environment variables and certificate configuration.
Restarted and retested the desktop application.
The issue persists.
Important: Codex CLI works, but Codex Desktop does not.
- Relevant Log Evidence
The desktop log repeatedly reports:
desktop_account_auth.unavailable
authMethod=chatgpt
reason=account_info_request_failed
Account lookup also reports:
accountInfoHttpStatus=0
accountsHttpStatus=0
authenticatedAccountPresent=false
authMethod=chatgpt
failureType=account_info_request_failed
result=failed
Additional repeated errors:
errorMessage="Workspace routing is unavailable"
routePattern=/wham/usage
status=432
These errors occurred repeatedly around November 19, 2026, 18:49–18:50 UTC.
- Questions for the Engineering Team
Why can Codex CLI authenticate and execute model requests while Codex Desktop cannot retrieve account authentication information?
Is this related to missing ChatGPT account or workspace routing information?
Why does the desktop application repeatedly fail on /wham/usage with status 432?
Is there a known issue or a recommended fix for this version of Codex Desktop?
- Request
Please investigate the desktop account authentication and workspace routing initialization process.
I would appreciate a recommended fix or a workaround that does not require reinstalling the application or deleting local data.
Thank you.
Activity
github-actions commentedon Nov 19, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
sdh-dot commentedon Nov 30, 2026
Recovery report: selecting a workspace restored Windows desktop connectivity
I recovered from the desktop account-authentication warning on November 30, 2026 (KST). In my case, browser sign-in completed and the bundled CLI recognized the ChatGPT login, but the desktop remained stuck. The inspected authentication file had no nonempty
tokens.account_id.Selecting an existing workspace through the bundled app-server's experimental
accountSession/listandaccountSession/switchAPIs restored the desktop connection. I am sharing the sequence and helper below for people with a matching state. This is one successful workaround, not a general fix for every432or authentication error.Environment
OpenAI.Codex26.1120.6357.0x64codex-cli 0.171.0-alpha.13.2%LOCALAPPDATA%\OpenAI\Codex\bin\<build-folder>\codex.exeThe executable was identified from the desktop's running process.
codexwas not available onPATH, so the CLI checks used that exact bundled executable.What happened
auth.jsonby renaming it. The initial sign-in screen was eventually restored, but desktop connectivity was still not restored.auth.jsondid not contain a nonemptytokens.account_id.The app's warning said, in Korean, that usable account authentication could not be obtained from the local Codex app-server and that sending messages and loading chats could be affected.
Diagnostics before recovery
Commands were run against the bundled executable:
Relevant desktop log fields, with identifying details omitted:
The CLI checks above establish the reported login mode and the specific connectivity tests they ran. They do not establish that every desktop account endpoint worked, or that an actual CLI model request succeeded. The
0values above are log fields, not an HTTP response status received from a server.errorCode=nullis the observed log value; it does not establish that workspace routing was available.Interpretation
The source for this exact app-server version allows account information to remain available while workspace routing is absent when no workspace has been selected. It does not automatically choose the backend's default workspace. This is consistent with the observations in my case, but I have not established why the selected workspace ID was missing in the first place.
The account-session implementation can retrieve existing memberships before a selected workspace ID is available, provided it can identify a managed ChatGPT login. This requires a usable ChatGPT user identity. Cases where that identity is also missing may stop with no usable managed session and are not covered by this recovery result.
Recovery procedure
This uses an experimental API present in
0.171.0-alpha.13.2. Other versions may differ. The switch operation changes stored credentials and the selected workspace; it is not just a diagnostic read. If it fails or times out after being sent, do not assume the old state was restored or blindly repeat it. In particular, the implementation's rollback path requires a previous workspace ID, which may be missing in this failure state.Identify the exact bundled
codex.exeused by the affected desktop app. While the affected app is still running, this local query can help:Use the executable belonging to the affected desktop app. If the result is empty or ambiguous, identify the correct process before continuing; do not automatically substitute another installation from
PATH.Fully quit the desktop app and finish or close any active Codex work using that installation.
Under the same Windows account, run the helper below. Enter the bundled executable's full path, then choose the intended workspace from the returned membership list. Enter
0to cancel if the entries are unclear.The helper requests a workspace switch with
allowBrowserLogin=false, then reads the account to check for routing information. If the selected workspace requires another sign-in, it stops instead of attempting an additional browser flow.After the helper exits, reopen the desktop app and check the connection and chat loading.
For app-server clients, the underlying sequence is:
{"id":0,"method":"initialize","params":{"clientInfo":{"name":"workspace_repair","version":"1.0.0"},"capabilities":{"experimentalApi":true}}} {"method":"initialized","params":{}} {"id":1,"method":"accountSession/list","params":{"refreshWorkspaceMetadata":true}} {"id":2,"method":"accountSession/switch","params":{"sessionId":"<active-session-id-returned-by-list>","accountId":"<workspace-id-selected-from-returned-memberships>","allowBrowserLogin":false}} {"id":3,"method":"account/read","params":{"refreshToken":false}}This is a sequential exchange over the default stdio transport: wait for initialization before sending
initialized, wait for each request's response, and obtain both IDs from the membership response. Do not paste these example lines as a complete one-way pipeline or invent IDs.PowerShell helper — expand to review and copy
This is the helper used for the recovery, with the personal executable path replaced by a prompt and console messages translated to English. The protocol flow is unchanged. This public variant has not been independently tested on other machines.
The helper uses only the returned membership IDs internally, drains stderr without printing it, and reports fixed status categories instead of raw response or exception text. Workspace names are displayed locally for selection. It closes only the diagnostic process it starts. No authentication tokens or IDs need to be posted to this issue.
Interpret the fixed status categories as follows:
[RESULT]checks areTrueNO_UNIQUE_MANAGED_SESSIONNO_WORKSPACESWORKSPACE_LIST_FAILEDSIGN_IN_REQUIREDROUTING_VALIDATION_FAILEDSWITCH_OUTCOME_UNKNOWNRPC_ERRORResult and limits
After the workspace-selection procedure, the desktop connection was restored in my environment. I have not yet established long-term persistence across repeated restarts or later app updates, or reproduced the recovery on other accounts.
This report does not establish that the network, proxy, certificates, or OAuth token issuance caused the original failure. It identifies the state that was observed and the operation after which the desktop recovered. The recovery helper does not manually edit
auth.jsonor JWT claims.Related reports: #59410 and #62498. In particular, some reports in #59410 also have missing ChatGPT user-identity claims; this helper requires a usable managed identity and should not be assumed to resolve those cases.
References for maintainers
The implementation references below are pinned to the bundled CLI version used in this case:
Could the desktop offer a normal workspace-selection recovery step when a managed login exists but the selected workspace is absent? A more specific error for this state would also help distinguish it from transport failures and avoid repeated app resets.