openai / openai/codex

Codex Desktop keeps logging me out and require re-login

Open
#39,218 7 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app auth bug
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.814.41407

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

The Codex Desktop app keeps logging me out every ~1 mins. I use ChatGPT in browser to login for >5 times and the issue persists.

What steps can reproduce the bug?

Login to the Codex (ChatGPT) app, click any existing session, then I'm logged out.

What is the expected behavior?

No response

Additional information

No response

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

Start by reproducing the logout on macOS 25.5.0 arm64 with Codex Desktop 26.814.41407: log in, open an existing session, and observe whether the app logs out. Trace the login flow and session handling from that entry point; done means the app remains logged in after opening a session and repeated use.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.