Codex token broker
Authorize the Codex CLI over the official device-code flow and receive your auth.json. Each visit is independent — many people can do this at once.
Starts a fresh device-code login.
1. Open auth.openai.com/codex/device and sign in.
2. Enter this one-time code (expires soon):
Device codes are a common phishing target. Only enter a code you started yourself.
Waiting for you to finish signing in…
✅ Authorized. Your Codex credentials:
Drop this into a Codex CODEX_HOME as auth.json (mode 600). It contains a refresh token — treat it as a secret. Held in memory here only briefly.
Something went wrong.