Can't login on my server

Resolved 💬 3 comments Opened Oct 25, 2025 by asennoussi Closed Nov 15, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.49.0

What subscription do you have?

Pro

Which model were you using?

Codex-5

What platform is your computer?

Linux

What issue are you seeing?

I click on the link and I do the authentication but at the end, I get this

<img width="1490" height="1038" alt="Image" src="https://github.com/user-attachments/assets/f7c6ed8f-bcf1-477b-8df5-4a7becbb4a56" />

http://localhost:1455/auth/callback?code=ac_S5TXq7V3fSJDVFSBBEGGDX-9lcUFTF0oKoO9qk.TYkI9fOR1KbCgmYwWVuFtYMod8qdfeY5C0KvPKWU4hc&scope=openid+profile+email+offline_access&state=GCSFDVSDvsdvsdvsdvdsf-bDX-dzd1yIYkCL2WJ38A
Which returns error because there is no server running on 1455.
Should I login to my ssh with a tunnel through 1455 to make it work?
Claude did something better which is returning a code that we can just copy paste instead.

What steps can reproduce the bug?

try to login on a server

What is the expected behavior?

It should login but it doesn't

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #4603
  • #4320
  • #4265
  • #4875
  • #5284

Powered by Codex Action

etraut-openai contributor · 10 months ago

Thanks for reporting the problem. I think this is a duplicate of this issue. We're working on improvements to "headless" login. As a workaround in the meantime, refer to this documentation.

etraut-openai contributor · 9 months ago

Closing in favor of #2798