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
{{ message }}
Repository navigation
Codex auth is shared between VS Code and VS Code Insiders #12019
Here's a potential short-term workaround. You could define the CODEX_HOME environment variable to point to a location other than ~/.codex/ for one of your profiles. All of the settings (including cached auth tokens), session details, etc. are stored in the CODEX_HOME directory.
Activity
etraut-openai commentedon Feb 17, 2026
Yes, this is by design. Codex auth is shared among all instances of codex on your machine whether you're using the extension, CLI, or app.
mahnunchik commentedon Feb 17, 2026
@etraut-openai Sharing auth across all Codex surfaces is a blocker for real-world use.
A lot of us must use two accounts on one machine:
Current design makes that impossible!
Please add one of:
Without this, users are forced into OS-level account switching or separate machines, which is not acceptable UX.
mahnunchik commentedon Feb 17, 2026
#2818
https://community.openai.com/t/codex-bug-multiple-github-accounts/1263218/40
etraut-openai commentedon Feb 17, 2026
OK, I understand your suggestion. Please open a new feature request. We generally prioritize features based on community upvotes.
etraut-openai commentedon Feb 17, 2026
Here's a potential short-term workaround. You could define the
CODEX_HOMEenvironment variable to point to a location other than~/.codex/for one of your profiles. All of the settings (including cached auth tokens), session details, etc. are stored in theCODEX_HOMEdirectory.mahnunchik commentedon Feb 17, 2026
I’m not sure I understand: how is a new feature request different from this issue? Should I create another one and copy the same text there?
etraut-openai commentedon Feb 17, 2026
You filed a bug report. Please use the feature request template.
mahnunchik commentedon Feb 17, 2026