Windows app Codex fails when CLI refresh token is revoked
Nobody has claimed this yet.
- 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.908.70816
What subscription do you have?
Max
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
You get the error:
Your access token could not be refreshed because your refresh token was revoked. Please log out and sign in again.
Logging out and back into the windows app does not clear it.
What steps can reproduce the bug?
In the windows app I get the error:
Your access token could not be refreshed because your refresh token was revoked. Please log out and sign in again.
So I log out of the Windows App and log back in. I continue to get the error:
Error running remote compact task: Your access token could not be refreshed because your refresh token was revoked. Please log out and sign in again.
I do this again and still get the error.
I ended up going to the codex cli. Logging out and back in. This cleared the error.
What is the expected behavior?
Either solution would be acceptable:
- Logging in and out of the windows app resets the codex OAuth.
Your access token could not be refreshed because your refresh token was revoked in the codex cli. Please log out of the cli and sign in again.
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 with the Windows app logout/login flow and the Codex CLI OAuth sign-in flow described in the report, then reproduce the revoked-refresh-token error in both contexts. Trace how each entry point clears or reuses credentials. Done means logging in again from the Windows app clears the error, or the app clearly directs users to reauthenticate through the CLI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- authentication, cli, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100