After enrolling into Advanced Account Security (to keep access to Daybreak Blue), codex app is stuck in login-logout loop
Open 💬 10 comments Opened Aug 25, 2026 by pkqs90
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
26.818.61809
What subscription do you have?
20x Pro
What platform is your computer?
MacOS Darwin 25.6.0 arm64 arm
What issue are you seeing?
Endless logout loop. Codex app is not usable at all after enabling into Advanced Account Security
What steps can reproduce the bug?
- Enable Advanced Account Security
- Open Codex app
- Automatically logs out after 5 seconds
- Login again, still logs out after 5 seconds.
What is the expected behavior?
_No response_
Additional information
_No response_
10 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
To provide more context, after I disabled "Advanced Account Security", I am still stuck in the endless logout loop.
What I had to do was buy a VPN, clear my cache, restart my PC, and then go into Incognito mode and use the exact same login method (Apple) to login.
For some reason that worked and I have no idea why. IDK if that'll work for you and I'd try the without a VPN purchase but maybe try restarting your router? I'm not too sure what exactly allowed it to work.
Had this exact same issue. The fix was just to re-authenticate via an incognito browser as well. Would say the VPN is overkill. Thanks @danielchristiancazares, this was driving me nuts. @pkqs90 worth a try.
Glad I could help.
I can reproduce this on a newer ChatGPT/Codex desktop build, and the failure is blocking access to all existing Codex conversations.
Environment
What happens
Hardware-key authentication itself succeeds. The browser reports a successful login, OpenAI sends a “New sign-in” notification for App: Codex, and a fresh Codex session appears under ChatGPT → Settings → Security and Login → Active Sessions.
The desktop app then opens normally and shows my projects/conversation list. A fresh/new-chat surface can remain open. However, the moment I open any existing Codex conversation, the conversation starts to load briefly and the desktop app immediately switches back to “Sign in to ChatGPT”.
I reproduced this with multiple unrelated existing conversations, including conversations in different project contexts, so it is not isolated to one thread/project.
Clean reproduction performed
ChatGPT.appand selected Continue to sign in.This was also reproduced in an earlier clean login attempt; each successful browser/FIDO login created a new Codex session, but opening an existing conversation still caused the desktop UI to lose authentication.
Expected behavior
After a successful Advanced Account Security / FIDO authentication, the desktop app should keep the authenticated Codex session and allow existing conversations to open normally.
Actual behavior
Successful FIDO login → fresh server-side Codex session created → desktop appears authenticated → opening any existing Codex conversation → immediate return to sign-in screen.
Troubleshooting already completed
ChatGPT.appis being usedImpact
Productivity-blocking. I use existing Codex desktop sessions for active development work. After following OpenAI’s recommended/required Advanced Account Security migration for TAC/Daybreak Blue access, the desktop app can no longer open any of those existing sessions. Web ChatGPT still works, and CLI may be usable as a fallback, but it does not replace the desktop workflow/session continuity.
This looks closely related to #39803 and #39162, but in my case the trigger is specifically reproducible immediately after enabling Advanced Account Security with physical FIDO keys, matching this issue (#40611).
I can provide sanitized desktop logs/screenshots if maintainers need them. No recovery codes, FIDO PINs, tokens, account IDs, or other authentication secrets are included here.
Additional diagnostic result: the issue reproduces identically on a completely separate mobile/cellular network.
Mobile hotspot isolation test
So the failure is not limited to my normal router/Wi‑Fi/LAN network and is reproducible over an independent cellular hotspot as well.
This also broadens the trigger observed in my case: it is not only opening an existing conversation. After a fresh successful login, a new-chat interaction can complete and then the app loses authentication immediately afterward.
No visible error code or error text is shown before the redirect.
Additional workaround test: re-authentication through Chrome Incognito did not resolve the desktop auth loop on my macOS setup.
Incognito test performed
https://chatgpt.com/codex/open-app?source=login&app_brand=chatgptfrom the authenticated Incognito session.So, for this affected account/build, the Incognito re-authentication workaround reported by other users in this thread is not sufficient. The browser is authenticated, but the desktop app still does not establish/retain the corresponding authenticated state.
Sanitized desktop-log confirmation from the affected macOS machine:
Environment confirmed in logs
com.openai.codexRepro log sequence (existing conversation)
The desktop app is initially authenticated and the thread resumes successfully, then the auth state collapses immediately after an account-settings request:
This sequence is repeated multiple times in the logs when existing conversations are opened.
New-chat reproduction is also captured
During the separate mobile-hotspot test, the logs show a new turn starting/completing, then the same authentication collapse:
Additional clue
An earlier log entry from the same desktop client shows the account-settings endpoint returning:
against
/accounts/{account_id}/settings.This is very close to the failure described in #39189: a personal Pro account receives a workspace-only settings 401, after which the unified desktop client drops/detaches the otherwise valid ChatGPT auth state.
No tokens, account IDs, conversation IDs, local usernames, FIDO secrets, or recovery material are included in this comment.
Confirmed Incognito browser as workaround for me too.