Codex Desktop repeatedly reports expired GitHub authentication while gh is authenticated
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.803.61601
What subscription do you have?
Pro 5x
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
Codex Desktop repeatedly reports that GitHub authentication has expired and asks me to sign in again.
I have completed the authentication flow multiple times (approximately seven times), but the same prompt keeps returning. The problem occurs while using Codex Desktop with local Git worktrees.
What steps can reproduce the bug?
- Open Codex Desktop and work in a local Git repository or worktree.
- When Codex Desktop displays a GitHub authentication-expired prompt, complete the sign-in flow.
- Continue using Codex Desktop.
- The same expired-authentication prompt appears again.
- Repeat the sign-in flow several times; the prompt still returns.
What is the expected behavior?
After GitHub authentication is completed successfully, Codex Desktop should retain or refresh the authentication session.
GitHub authentication should not unexpectedly expire or repeatedly require the user to sign in during normal use.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the repeated GitHub authentication prompt in Codex Desktop while using a local Git repository or worktree, then trace where the completed sign-in session is retained or refreshed. Done means authentication remains valid during normal use and the prompt does not recur after a successful sign-in.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, github, rust
- Domain
- authentication, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100