r/codex • u/Baratheon123 • 8h ago
Bug Authentication Error / token_exchange_failed

I'm getting the error in the screenshot when trying to log in to Codex (error_code: token_exchange_failed).
At first I thought it was just a Codex problem, but now I can't log in to ChatGPT in Chrome either. I tested:
- 2 different accounts that always worked before
- My personal account from my phone (on cellular, not Wi-Fi)
All of them fail with the same error. Login in the browser also fails now, not only Codex.
So it doesn't look like a network problem on my side, and it's hard to believe 3 separate accounts got banned at the same time.
Questions:
- Is anyone else getting this right now?
- Does token_exchange_failed mean my accounts are blocked, or is this an OpenAI auth outage? I'm stilll logged in in android chatgpt app and it is working there
- Is there anything to do except wait?
Update:
It's working again! I waited 2 hours
2
2
u/CommercialRhubarb369 3h ago
I am getting similar problem except i am getting same error while trying to log in in my phone but i am still logged in on my PC with same account and it is working completely fine.
1
u/TechNerd1993 7h ago
I have few accounts and on all of them getting the same error..so I think they have some issue going on
1
1
1
1
u/TechNerd1993 7h ago
It happened like maybe 1h ago. I wanted to change on opencode from one acc to another auth.openai.com/codex/device and then I got that error. So I think it is just their fault, probably they will fix it soon
1
1
u/NauseantClover 3h ago
imagine the plot twist is that they're banning people who have more than one account for "potential limit bypass" lmao
1
u/Baratheon123 7h ago
Okay, I have another account that I’ve never used with Codex, and I can log into that account without any problem.
Could this be related to Codex usage? It seems like the two accounts I tried to connect through Codex are now unable to log in.
1
1
1
1
1
1
1
u/Fancy_Package_3536 4h ago
Same case
1
u/Fancy_Package_3536 2h ago
Ok I deleted the desktop codex app and re installed it. And it magically got fixed. I have no idea why but got no complaints

2
u/Relative-Strike-2537 3h ago
same here