[Bug]: Managed Codex chats appear in ChatGPT desktop but cannot continue: openai_token_sharing unavailable #34303
Before submitting#
- I searched existing issues and did not find an exact duplicate.
- I included enough detail to investigate the problem.
Summary#
Chats created through T3's managed Codex / ChatGPT subscription-sharing integration are visible in the separate ChatGPT desktop application on the same Windows account, but the desktop application cannot continue them because their persisted provider is openai_token_sharing and that provider is defined only for the T3-launched runtime.
The reporter did not intentionally change provider settings. This is a cross-client history/configuration compatibility report, not a token-expiry or failed-login report. It is not yet established whether the complete fix belongs in T3, the OpenAI desktop client, or both.
Area#
apps/server — managed Codex runtime configuration and shared Codex history.
Steps to reproduce#
Observed sequence on the affected installation; not a fresh-install reproduction:
- Use T3 Code's managed Codex integration with ChatGPT sign-in.
- Create and use chats through that integration.
- Open the separate ChatGPT desktop application on the same Windows account, where the shared Codex history exposes those chats.
- Open an affected chat.
- Observe the missing-provider banner instead of being able to continue.
Expected behavior#
Shared chats should either have a supported continuation/migration path, or be clearly identified as T3-managed/non-portable with actionable guidance. Using managed Codex should not leave otherwise visible chats looking as though the user removed their provider configuration.
A fix should preserve provider/authentication isolation and existing resume identities; this report does not propose blindly renaming persisted providers or copying T3 credentials into global configuration.
Actual behavior#
The ChatGPT desktop application displays:
Model provider unavailable
This chat uses openai_token_sharing, which is no longer configured.
Restore this provider’s configuration to continue.
The action is Open provider settings.
Impact#
Major degradation for cross-client continuation: affected chats remain visible but cannot continue in ChatGPT desktop without manual configuration/provider selection. This does not establish that those chats are broken inside T3 itself, or that their contents are lost.
Version or commit#
- T3 Code server:
0.1.6, confirmed by the live environment metadata. - T3-managed Codex executable and affected saved-thread metadata:
0.156.1. - ChatGPT desktop Windows package:
26.1106.6628.0(OpenAI.Codex). - Desktop's active Codex backend:
0.167.0-alpha.4.1. - Observed November 11, 2026.
Environment#
Windows x64. T3 managed Codex with ChatGPT sign-in; the separate ChatGPT desktop app also has an existing working ChatGPT sign-in. Model used for the isolated diagnostic test: gpt-6.1-sol.
Diagnostic evidence#
Read-only saved-thread metadata showed multiple affected chats with model_provider = openai_token_sharing and cli_version = 0.156.1. No message bodies were needed for this check.
The live T3-managed Codex process had openai_token_sharing and a provider endpoint override in its launch arguments. Credential-bearing argument values were not included in this report.
Before the workaround, the desktop backend's modelProvider/list response was:
{
"data": [
{
"id": "openai",
"name": "OpenAI",
"canEdit": false,
"baseUrl": null,
"settings": { "type": "openai" }
}
],
"defaultProviderId": "openai",
"canChangeDefault": true
}
The effective configuration had no custom model providers. An isolated test using the existing desktop ChatGPT sign-in completed successfully after registering and selecting a compatibility provider with the missing ID. This distinguishes provider-registration/selection failure from a broken desktop login.
Source context#
The current source confirms that managedCodexLaunchArgs supplies model_provider="openai_token_sharing" and its provider definition as process launch overrides. Its comment explicitly notes that Codex persists this ID in rollouts and needs it unchanged for resume:
This source inspection is of the referenced repository commit, not proof that the installed release has identical implementation details.
Workaround and verification limits#
A backed-up local configuration change registered openai_token_sharing as a compatibility provider using the desktop application's existing OpenAI authentication. The default provider was left as openai and saved chats were not rewritten.
- A temporary isolated test with that provider selected completed one synthetic
reply OKturn successfully. - A fresh desktop backend subsequently listed both the standard provider and the saved compatibility provider.
- The first test without selecting the matching provider returned
modelProviderMismatch; registration alone does not eliminate the provider-selection requirement. - Final continuation of an original affected chat through the desktop UI has not been verified. The reporter was asked to restart/reopen the desktop app and select the compatibility provider if prompted.
- This workaround uses the desktop's own ChatGPT authentication, not T3's token-sharing route. It is not proof that all models, entitlements, tools, or history items behave equivalently across the two routes, and is not proposed as an automatic production fix.
Privacy and attribution#
Filed at the reporter's request with Codex assistance (GPT-6.1 Sol). No raw logs, conversation contents, customer files, tokens, account identifiers, local usernames, machine names, or thread IDs are attached.
tanstack-source added labelsbug
this is happening here too. it has become a bit hard to use the OpenAI provider because chats frequently error out. But it's a very confusing issue so I am unsure if the fix is in T3 Code, OpenAI or if I can work around it
Sign in to join this conversation.
I reproduced this issue on Windows using T3 Code Nightly
0.1.14.20261127.5319and found a working workaround for newly created conversations.Workaround#
Add a manually configured Codex provider with:
codex.exebundled with the official Codex desktop appCODEX_HOME: Existing~/.codexdirectoryTest results#
openai_token_sharingprovider error no longer appears.NATIVE-02) introduced in the native app. This suggests that the underlying conversation context is preserved despite the missing message history in T3's UI.The remaining synchronization issue appears related to #28681.
One limitation of this workaround is that the executable path bundled with the native Codex app may change after an update.
Ideally, T3 Code could provide a stable way to reuse the native Codex runtime and synchronize externally added conversation turns.
I'm happy to help test future fixes on Windows and Android. Thanks for your work!