openai / openai/codex

Codex App forces me to re-authenticate when I open an existing conversation, and also after sending the first message in a new session

Open
#40,857 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

26.819.11345

What subscription do you have?

ChatGPT Plus

What platform is your computer?

macOS Darwin 25.5.0 arm64 arm

What issue are you seeing?

Since a recent update, the Codex App keeps signing me out and forcing me to log in again. It happens in two scenarios:

1.Opening an existing (old) conversation — as soon as I open a saved session, the app logs me out and returns me to the login screen, requiring me to authenticate again.
2.New conversation — even in a freshly created session, after I send just one message, the app signs me out again and I'm back at the login screen.

There is no visible error message — it does not show any clear error text; it simply redirects / kicks me back to the login page. After re-login, my previous session history still appears to be intact, but I have to authenticate every single time.

What steps can reproduce the bug?

1.Launch the Codex App and sign in.
2.Either (a) open an existing conversation, or (b) start a new conversation and send a single message.
3.The app immediately signs you out and shows the login screen again.
4.Sign in again — the same behavior recurs on the next session or message.

What is the expected behavior?

The app should keep me signed in for the duration of the session and across opening existing conversations. I should not be forced to re-authenticate merely by opening an old conversation or by sending the first message.

Additional information

This happens consistently, not sporadically — it is reproducible every time and does not depend on any specific conversation. The re-login loop started recently (after an update). Environment: Codex App 26.819.11345, macOS Darwin 25.5.0 (arm64), ChatGPT Plus. I'd be happy to provide more logs or a screen recording if useful.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. Start by reproducing the sign-out loop with Codex App 26.819.11345 on macOS Darwin 25.5.0 arm64, then trace the desktop authentication and conversation-loading paths. Done means opening an existing conversation or sending the first message does not redirect to login, while session history remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
authentication, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.