Codex Desktop gets stuck with refresh-token-revoked auth error during active session
What version of the Codex App are you using (From “About Codex” dialog)?
26.527.31326 (3390)
What platform is your computer?
macOS Tahoe 26.5, MacBook Pro 16-inch, Apple M5 Max, 128 GB RAM
What issue are you seeing?
Codex Desktop can suddenly enter a broken authentication state during an active session. The active chat becomes unusable and the UI shows:
Your access token could not be refreshed because your refresh token was revoked. Please log out and sign in again.
Important clarification: this was not caused by uploading feedback. The feedback was submitted only after this authentication problem had already appeared, in order to report the bug.
Feedback ID for diagnostics only:
019e7d7b-7b3e-7e70-a2b1-e94560dc55a0
This is disruptive because the app loses the ability to continue the current Codex session or submit follow-up changes until the user signs out and signs back in. The current conversation/session context and pending work may be interrupted.
What steps can reproduce the bug?
- Open Codex Desktop on macOS.
- Work in an active Codex session.
- During normal usage, Codex Desktop enters an auth failure state.
- The active session/input area shows the refresh-token-revoked error quoted above.
- Only after seeing this problem, submit feedback from the feedback dialog to report it.
What is the expected behavior?
Codex Desktop should not suddenly get stuck with a revoked refresh-token state during an active session. If re-authentication is genuinely required, the app should provide an in-app recovery flow that preserves the current conversation/session context and pending work, instead of leaving the session unusable.
Additional information
No screenshots are attached. The feedback ID above is provided only as a diagnostic reference for the already-existing auth failure.
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
The
/feedbackcode path doesn't require authentication, and it doesn't modify your auth token. I suspect this was a coincidence. Have you seen this more than once? Are you able to repro?Thanks for the clarification. Yes, I agree this is likely not caused by /feedback.
To clarify, the auth error appeared first during the active Codex Desktop session. I submitted feedback only after seeing the error, so the feedback ID is just for diagnostics.
So far I have only observed this specific “refresh token was revoked” state once in this Codex Desktop session, and I do not yet have a deterministic repro. The visible sequence was:
I will update the issue if I see it again or find a reliable way to reproduce it.
happens in va code
Getting this in VS Code, same behavior.