-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Cannot use "Sign in with ChatGPT" to login on ubuntu server #2258
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What version of Codex is running?
codex-cli 0.21.0
Which model were you using?
gpt-5 hopefully
What platform is your computer?
Linux 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
What steps can reproduce the bug?
Hi, my situation is a little bit complex. I think it's not the Python path issue.
- Exec codex on Ubuntu server.
- Select "Sign in with ChatGPT"
- It shows me a url for login. ( https://auth.openai.com/oauth/authorize?... , with redirect_uri=http://localhost:1455...
- Copy the url, and paste on to Windows Chrome.
- Login with my account successful.
- Redirect to http://localhost:1455...
- Since the localhost is on a diffrent machine, it would not work.
--
2rd attempt:
1,2,3. as above
4. Modify the url width http://toybox:1455, and copy on to Windows Chrome
5. as above.
6. Redirect to http://toybox:1455...
7. Timeout after a several seconds.
--
3rd attempt:
1,2,3 as above
4. Open the url in lynx.
5. Cannot login
What is the expected behavior?
Other platforms behavior:
gemini-cli
6. shows a key phrase
7. copy the key phrase and paste back to ubuntu.
cursor-agent
6. shows "login success"
7. and cursor-agent automatically grant for login
What do you see instead?
No response
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working