Xcode Codex sign-in fails after updating OpenAI component

Environment:

  • macOS: Tahoe 26.4
  • Xcode: 26.5
  • ChatGPT account successfully authenticated
  • Codex CLI installed and working
  • Codex App installed and working

Steps to reproduce:

  1. Install Xcode Codex/OpenAI component version where GPT-5.4 is the highest available model.
  2. Sign in with ChatGPT account.
  3. Confirm Codex works in Xcode.
  4. Update the OpenAI/Codex component in Xcode.
  5. Attempt to sign in again.

Expected result:

  • Xcode completes authentication and shows signed-in status.

Actual result:

  • Browser successfully completes authentication and displays "Signed in to Codex."
  • Xcode remains in a sign-in loop or shows "Not Signed In."
  • Authentication never completes.

Additional observations:

  • Codex CLI authentication succeeds.
  • Codex App authentication succeeds.
  • ChatGPT web/app access succeeds.
  • Anthropic/Claude component updates continue to work normally in Xcode.
  • Issue appears specific to the updated OpenAI/Codex Xcode component.
  • Older component (GPT-5.4 maximum model available) authenticates successfully.

Thanks for your patience. OpenAI has informed us that a fix is required in Codex and they are working rapidly to get this in something we can deliver to you.

In the meantime, try running xcrun agent codex logout after your next failed sign in attempt, then try again. It's possible this may work for you.

Xcode Codex sign-in fails after updating OpenAI component
 
 
Q