✮Update - the config file points to our keychain, so the auth.json file is only temporary, so it was def a fluke... and did not last after logging out of the terminal. either that or the auth connection I did get dropped after x time.. -but maybe this is still enough for someone to see something I am not and get a proper workaround... ✮
(original post)
None of this worked for me either, and as a Pro Account holder, I did not want to just use the API and pay more. I did find a work around. logging in with the account still is broken, but, after searching my files, I noticed I did not have an auth.json file
go into terminal and search it: ls -la ~/.codex
you should have a config.toml and auth.json file ( I only had config) to fix that, I launched codex from my terminal, and today there was an update, so I updated codex to the latest and after I logged out of the terminal, the auth.json file was now there.
next I just went to Xcode settings, Agents, Codex and used the auth with config file option. now that I had the auth.json file in my folder, it was using that as my login for the pro account and not using the API - I checked the codex app to see my limits, and on top of that my API balance is zero now.
anyway, maybe its a fluke and I got lucky, or maybe I found something, either way, I hope it works for someone else in the meantime. Cheers all.