Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Feature]: Allow multiple Codex (ChatGPT) or Claude accounts to be linked and auto-switch accounts #2111

Closeddiyanko(GitHub profile, opens in a new tab) opened this issue 3 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

Not sure

Problem or use case

The use case would be to allow people with multiple ChatGPT accounts to be able to get most out of the subscriptions, often with personal and work accounts.

Proposed solution

If it can allow signing into multiple accounts of ChatGPT and let the user switch across them easily, they can make make use of multiple subscriptions if they have access without paying for a more expensive subscription.

Right now, one of the ways I'm getting around it is by switching around the auth.json file generated by codex when I am signing in. Though sometimes it forces you to re-authenticate it again.

Why this matters

This is mostly for people who are trying to make most use of their subscriptions if they have more than one account. Like for people who might have two ChatGPT accounts so they are paying $40 a month and easily take advantage of full usage given.

Smallest useful scope

A very simple way to sign in to multiple options and just switch across the accounts.

Alternatives considered

No response

Risks or tradeoffs

No response

Examples or references

No response

Contribution

  • I would be open to helping implement this.
  1. diyanko(GitHub profile, opens in a new tab) added labelsenhancement

  2. diyanko(GitHub profile, opens in a new tab) added labelsneeds-triage

  3. cp /Users/diyanko/******/codex-auth/db/auth.json /Users/diyanko/.codex/auth.json This is an example of a command I run to switch around multiple auth.json files. I have multiple and I have some of my friends as they do not use Codex, so taking advantage of that.

  4. Thats clever and will affect me in a couple of days! I'll try and build something built in over the weekend and PR it. Also consider they don't really want PRs right now it probably wont get merged, but you could install it and cherry pick the PRs you want included.

  5. Provider instances now allow separate Codex and Claude account homes/configurations and let users switch between them in the provider picker. That satisfies the issue's smallest scope of linking multiple accounts and switching manually.

    This was closed as part of a large repo-wide maintenance sweep. If you think it's still relevant, please reopen.

  6. juliusmarminge closed this

Sign in to join this conversation.