Replies: 1 comment
-
|
Thanks for the write-up! Option 2 is actually trivial if you're doing remote SSH development in VSCode. Just use the "Forward a port" action, enter |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to get
codexworking if OAUTH flow doesn't work for you (at least until the option to enter a code is implemented, like for claude)Option 1: Easy
codexon any machine where authorization will work, and login (run and completecodex loginin CLI)~/.codex/auth.jsoncodexVSCode extension:chatgpt-0.4.15-universalmay actually bechatgpt-0.5.01-universal, etc. when you read this)- IMPORTANT: If you used a variant of code-server, it may install to a different folder than
code-serverunder~/.local/share(you may need to dig around in folders a bit)- paste
auth.jsoncontents to~/.local/share/code-server/extensions/openai.chatgpt-0.4.15-universal/auth.json- paste
auth.jsoncontent so%USERPROFILE%\.vscode\extensions\openai.chatgpt-0.4.15-universal\auth.jsonOption 2: Port forwarding
:1455to localhost (even easier, if you know what you're doing)codex loginand complete authentication flowOption 3: CLI only (not for headless)
codex loginin CLI and copy the URL it displays for authenticationhttp://localhost:1455...copy as CURL(important)codex loginBeta Was this translation helpful? Give feedback.
All reactions