Skip to content

[bug] Add new account in incognito mode fails #652

Description

@haf

Summary

  1. codex-multi-auth login
  2. manual/incognito copy url to firefox https://auth.openai.com/oauth/author...
  3. log in
  4. copy return url: http://localhost:1455/auth/callback?code=ac_u...
  5. paste into terminal; get error Login failed: OAuth state mismatch. That callback URL was generated for a different login attempt. Restart login and paste the callback URL from this attempt. - expected it to use the authz code instead of failing

Environment

  • codex --version: codex-cli 0.146.0
  • codex-multi-auth status output summary:
Accounts (4)
Storage: /Users/h/.codex/openai-codex-accounts.json
Selection reason: account 3 (Lowest risk ready account (low, score 0).)
Storage health: healthy
Runtime: responses=0, refresh=0, probes=125, budgetExhaustions=0
Last runtime account: Account 1
Runtime in use: account 1 (runtime-observability)
  • npm ls -g codex-multi-auth:
/Users/h/.nvm/versions/node/v24.13.1/lib
└── codex-multi-auth@2.6.1
  • OS: macOS 26.1 (25B78)

Compliance Confirmation

  • I am using this project for personal development workflows.
  • This report does not request policy bypasses or prohibited usage.
  • I removed any secrets/tokens from this report.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions