Windows Codex App: All sessions lost after refresh token revoked — Apple relay verification emails never arrive

Open
#64,190 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Start by reviewing the Windows Codex app authentication flow and the refresh token handling; the issue does not name relevant files or tests. Reproduce the reported sign-in failure if possible, then trace whether token revocation or email verification blocks recovery. Done means identifying and addressing the cause or documenting a reliable supported recovery path.

Written by the indexing model from the issue text.

Description

app auth bug windows-os
What version of the Codex App are you using (From “About Codex” dialog)?

Unknown — unable to confirm while signed out

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Windows 11 Home Insider Preview, version 26H2, OS build 26320.10022, Beta channel, x64

What issue are you seeing?

On November 25, 2026, my Windows Codex desktop application unexpectedly lost authentication across all existing sessions.

The following error appeared:

“Your access token could not be refreshed because your refresh token was revoked. Please log out and sign in again.”

When attempting to sign back in, OpenAI requires email verification through the Apple private relay address associated with my ChatGPT Pro account.

The verification emails never arrive in my iCloud inbox, leaving me unable to authenticate.

I have confirmed that my ChatGPT Pro account remains active and accessible through my iPhone and Safari. My Codex installation on my Mac mini also continues functioning.

I installed the official standalone Codex CLI (version 0.172.0) and attempted device-code authentication using codex login --device-auth.

The device authorization flow also redirected me to the same email verification requirement, which I cannot complete.

This is a Windows authentication failure compounded by an account-verification delivery problem. The root cause of the token revocation remains unknown.

What steps can reproduce the bug?
  1. Open the Windows Codex desktop application using an existing ChatGPT Pro account authenticated through Sign in with Apple.
  2. Attempt to access an existing Codex conversation after the refresh token has been revoked.
  3. Codex displays the revoked-refresh-token error and prevents the session from continuing.
  4. Attempt to sign in again using the existing ChatGPT account.
  5. OpenAI requests an email verification code sent to the account’s Apple private relay address.
  6. The verification email does not arrive, preventing authentication.
  7. Install the standalone Codex CLI v0.172.0.
  8. Run codex login --device-auth and follow the official device authorization process.
  9. The browser again requires the missing email verification code.

The issue remains reproducible on my Windows machine. The initial event that caused token revocation is unknown.

No session ID or diagnostic request ID has been identified.

What is the expected behavior?

Codex should maintain valid authentication sessions during normal use, or provide a reliable reauthentication process when credentials expire or are revoked.

When reauthentication is required, account verification emails should be delivered successfully, or another supported verification method should be available.

Existing Codex conversations, projects, and local business workflows should remain accessible after successfully signing back into the same account.

A Windows authentication failure should not leave a paying subscriber unable to recover access to existing work.

Additional information

This issue has significantly disrupted my business operations.

I use Codex for estimating, office management, project management, customer inquiries, and automation across two businesses.

I have spent substantial time troubleshooting, including checking Apple Sign in and relay settings, attempting browser authentication, installing the standalone Codex CLI, and testing device-code authentication.

I have an active OpenAI Support case, #21155754, assigned to a human support specialist. The issue has not yet been resolved.

My Windows Codex project files and configuration have been backed up. I am avoiding resets or deletion of local workspace data to preserve existing work.

My computer was running Windows Insider Beta at the time of failure. I have since scheduled unenrollment from the Insider Program. It is not established whether this contributed to the authentication problem.

For business-critical use, reliable account recovery and timely escalation are essential. Currently, I have no confirmed method to restore Windows access despite my subscription and account remaining active on other devices.

Please investigate the cause of the refresh-token revocation, the failure to deliver verification emails through Apple’s private relay, and whether a supported alternative authentication method can restore access.

Dominant language
Rust
Stars
136k
Forks
21.6k
Avg merge
1m
Merged PRs (30d)
997

Getting set up

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.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.