Agents in Xcode: Codex Sign In not working

Hey all,

the codex sign in isn't working for me in Agents.

I am using the 26.5 release candidate version.

It always says "Not Signed In". I have completed the Sign In process multiple times.

Anyone else seeing this?

I have filed Feedback FB22732574

any solution. im having the same problem today.

Thank you for your post. Are you encountering the issue with the RC 26.5?

I think I have seen that issue with previous version where the tokens getting stuck in your Keychain.

Ensure you are actively connected without VPN or proxies. As requires a stable connection to internal services to validate the token. If your network connection dropped briefly during the auth handoff, it will fail silently and leave you in the "Not Signed In" state.

Also can you delete any cache? In your terminal:

rm -rf ~/Library/Caches/com.apple.dt.Xcode

If the issue persists please let me know and we can file a bug to see the issue in Xcode 25.6 RC.

Albert
  Worldwide Developer Relations.

Hey Albert,

thanks for your competent reply.

Yes, Xcode release candidate 26.5 (17F42).

I have deleted the cache. I have also deleted codex* and chatgpt* (empty) from the system keychain. No VPN connection. The problem persists.

I have now switched Xcode over to use "Authenticate with configuration file". It does that, but I am unsure whether the configuration file works, and I don't really know how to check. The codex* entries in keychain are back since I logged in on the Codex app.

Kind regards

Agents in Xcode: Codex Sign In not working
 
 
Q