とのことなので、たとえばリモート環境やlocalhostコールバックがブロックされている時に使える
- Enable device code login in your ChatGPT security settings (personal account) or ChatGPT workspace permissions (workspace admin).
- In the terminal where you’re running Codex, choose one of these options:
- In the interactive login UI, select Sign in with Device Code.
- Run codex login --device-auth.
- Open the link in your browser, sign in, then enter the one-time code.