Before submitting#
Area#
Not sure
Steps to reproduce#
Add a new codex provider
Try to provide the codex api key
(I don't know how the configuration worked originally, but it did work for months, until the recent nightly update)
Expected behavior#
I get an option to login to chatgpt or provide an API key.
For some enterprise account setups I need to use the API key directly and my normal login account does not have any plan access.
Actual behavior#
I only get the option to login to chatgpt account.
Logging in by running codex login --with-api-key in the console doesn't propagate that info to t3code settings.
Impact#
Blocks work completely
Version or commit#
Version 0.1.1-nightly.20261018.3335 (b72740852ffb)
Environment#
macos 26.5.2 (25F84)
Logs or stack traces#
Screenshots, recordings, or supporting files#
No response
Workaround#
No response
Note
Grok responding on behalf of Julius.
API key auth already works through the existing CLI setup, so I'm closing this.
The ChatGPT flow you hit creates a managed Codex instance. Managed instances use ChatGPT sign-in and keep their own private auth state, so a
codex login --with-api-keyin your terminal never reaches them. That's why it didn't carry over.To use your key:
codex login --with-api-keyon the machine running T3 Code.~/.codex, or the CODEX_HOME path you set), and T3 Code shows the account as "OpenAI API Key".Entering an API key directly inside T3 Code would be a new feature. If you want that, please open an idea here: https://github.com/pingdotgg/t3code/discussions/new?category=ideas