-
-
Notifications
You must be signed in to change notification settings - Fork 892
Description
Title: [Bug] Codex auth file overwritten when account has both Plus and Team plans
Is it a request payload issue?
[ ] Yes, this is a request payload issue. I am using a client/cURL to send a request payload, but I received an unexpected error.
[x] No, it's another issue.
Describe the bug
When authenticating a codex account that possesses both a Plus subscription and a Team plan (workspace) under the same email, the authentication file/session is overwritten.
It appears the system does not properly distinguish or store separate session tokens for the different workspaces/plans associated with the single account. Logging into one context (or the initial auth process) results in a conflict where the auth file is replaced, likely causing issues when trying to switch contexts or use the overwritten plan.
CLI Type
codex
Model Name
N/A (Authentication issue)
LLM Client
N/A (Proxy server issue)
Request Information
N/A
Expected behavior
The system should handle accounts with multiple plans (Plus + Team) correctly. It should persist authentication data for both contexts simultaneously without overwriting the single authentication file, or it should allow selecting/storing distinct profiles for the same account.
Screenshots
(If you have any error logs showing the file overwrite or login failure, paste them here, otherwise leave blank)
OS Type
- OS: [e.g. Linux/Docker]
- Version: [e.g. Ubuntu 22.04]
Additional context
- CLI Proxy API Version: v6.6.82
- Issue specifically observed with
codexaccounts holding dual memberships (Plus & Team).