by shigemk2

当面は技術的なことしか書かない

codex デバイスログイン

とのことなので、たとえばリモート環境やlocalhostコールバックがブロックされている時に使える

  1. Enable device code login in your ChatGPT security settings (personal account) or ChatGPT workspace permissions (workspace admin).
  2. 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.
  3. Open the link in your browser, sign in, then enter the one-time code.

developers.openai.com