Codex login in Xcode doesn't work (redirect after login doesn't work, ui never logged in)
Open 💬 2 comments Opened Jul 21, 2026 by nohli
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the IDE extension are you using?
0.140.0
What subscription do you have?
Pro
Which IDE are you using?
Xcode
What platform is your computer?
macOS
What issue are you seeing?
Not logged in
What steps can reproduce the bug?
Log in to Codex in Xcode, finish browser login and close browser window
What is the expected behavior?
_No response_
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I successfully worked around the login bug with the help of ChatGPT and different attempts. Here are the steps I took:
I had this issue: ChatGPT login worked, the standalone Codex CLI worked, but Xcode stayed signed out.
What fixed it:
0.140.0with the version currently bundled with your Xcode):It should show:
config.tomlstill contains:Xcode uses its own bundled Codex binary and its own
CODEX_HOME. Logging in with the global/Homebrewcodexdoes not authenticate Xcode.