Thank you for the hint but i cannot even log in for the first time in order to log out.
This is so weird. I looked up their help pages and found nothing. Still they claim their AI can write documentations although even their own is not helpful … 
janla
29
hi - I am trying to log in to the playground with my account but get an “invalid authorization code” error and it doesn’t let me log in. But I can use chatgpt, What can be happening and how can I resolve? I want to get API key.
My login attempt looks exactly like the above photo, as well.
buid3r
31
The best solution I found was to manually goto
“https://platform.openai.com/loggedout”
or type in the address bar and then proceed to login again.
This worked after wasting time trying multiple browsers, networks, incognito mode etc.
I encountered the same issues and tried all the suggested fixes without success. Ultimately, I went ahead and created a new email account and then a new ChatGPT account, then logged in with it. Since then, I have ensured I always physically logged out and never allowed sessions to time out, and haven’t had any more problems at all. Been working flawlessly ever since (about 2 months).
Hilyin
33
Getting same issue.
It has to do with the openAI’s integration with Auth0. If you search the error message, there are other repos with the same issue. I have tried every “solution” in this post and none work.
OpenAI can you please look into this? The API playground and API Account management pages are inaccessible due to this error.
1 Like
dreish
34
I had this problem too—“Oops! (newline) Invalid authorization code”—and eventually was able to get back in by resetting my password. Not cookie clearing, nor a different browser, nor a private browser window were any help. I use a password manager and hadn’t changed my password after setting up my account, so I doubt I was getting it wrong. The OpenAI API link posted above by buid3r was the only way I was able to get to a password-reset option; clicking on “return to homepage” just took me back to the Oops! page after a long pause, and of course “Get help” is a mirage.
I am having this problem. Any update to end this ? I cant now access the API keys.
3 Likes
rolf1
36
I also have this issue rigth now. When logging in at OpenAI API after submitting email and password i get the error “Oops! Invalid authorization code”.
Deleted Browser Data → not working
Tried different Browser → not working
3 Likes
Same issue here, all the methods above failed to fix the issue.
3 Likes
tickie
39
Also have the same issue, I tried different browser, the logout option as well as resetting my password, but nothing seems to work
1 Like
just vanilla case of “me too!”.
. o O ( should I worry that I can’t currently know what is my actual account spending through OpenAI API ? )
1 Like
jmicex
41
at least you’ve got a nice dog captcha style pic. I have not
also, and on a separate note: does it help to know that Im also a paying Chad+ customer and that my billing cycle appears to happen on the 24th which would place it at right about yesterday? #2cents
jmicex
43
How a PAID subs could have this kind of error with no backup nor twitter message. No one will give you back your caffeined mind 
update: and suddenly “it just works” again.
. o O ( incidentally, the action I performed right before regaining access was pressing the “Sign up” button instead of the “Log in” button. #2cents #hth )

rolf1
46
Amazingly, the exact same way worked for me. I clicked on Sign Up, in the next window on Login and now it works.
Whether this is correlation or causality…who knows 
1 Like
@no_temperature’s trick worked for me as well. I clicked on Sign up and used the same Google account, and successfully logged in to be existing account.
1 Like