Cannot auth Codex extension with ChatGPT via Microsoft

Resolved 💬 2 comments Opened Aug 28, 2025 by roafh Closed Aug 28, 2025

What version of Codex is running?

0.3.3

Which model were you using?

_No response_

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

  • Install CODEX on VS code
  • Sign with ChatGPT
  • Takes you to the page where you can login, I chose Microsoft login
  • Shows this page

By continuing, ChatGPT will share your name, email, and profile picture with Codex CLI to link your account.

Codex CLI will not receive your chat history.

  • Click continue
  • Shows this page with "Missing authorization code" at the url:

http://localhost:1455/auth/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.+The+consent+verifier+has+already+been+used.&state=xxxxxxxxxxxxxxxxxxx

What is the expected behavior?

Logs in to Codex with ChatGPT

What do you see instead?

  • Shows this page with "Missing authorization code" at the url:

http://localhost:1455/auth/callback?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.+The+consent+verifier+has+already+been+used.&state=xxxxxxxxxxxxxxxxxxx

Additional information

_No response_

View original on GitHub ↗

2 Comments

hamstead · 12 months ago

@roafh This is probably related to the increased login and signup errors that are currently being reported on the OpenAI status page. I'd recommend watching that page and trying again after the issue has been resolved.

BogdanCiubotaru24 · 12 months ago

It could be caused by your browser extensions. I had the same issue and I used Microsoft Edge with no extensions and it worked.