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

Aperta
#64,190 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
136k
Fork
21.6k
Merge medio
1m
PR unite (30g)
997

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openai/codex

Tutte le issue di openai/codex

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.