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

Answered by otacon85 in 887596022

I have installed the new Xcode 26.5 release version (and I am on macOS 26.5).

It works now!

Maybe someone can confirm.

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

i have the same error. let me know if you find a fix

Thank you for providing additional information. I believe that multiple developers experiencing the same issue suggests that it is not solely a configuration problem and should be investigated by the appropriate team.

May I request that you file a bug so that I can route it correctly to that team?

Once you open the bug report, please post the FB number here for my reference.

If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

Albert
  Worldwide Developer Relations.

I filed Feedback a couple of days ago:

FB22732574

I have installed the new Xcode 26.5 release version (and I am on macOS 26.5).

It works now!

Maybe someone can confirm.

@otacon85 Thank you for providing the updated information in the thread. I noticed that you did not post this information in the bug thread. I recommend that you update the FB22732574 with the exact same information you just posted so that the team can verify it for you.

Thank you.

Albert
  Worldwide Developer Relations.

Agents in Xcode: Codex Sign In not working
 
 
Q