Feature request: add documented ChatGPT device-code auth support to codex app-server
Open 💬 3 comments Opened Apr 20, 2026 by StevanusPangau
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
CLI
What feature would you like to see?
Please add official, documented support for ChatGPT device-code authentication in codex app-server.
Today, the Codex CLI supports device auth via:
codex login --device-auth
But the public codex app-server docs currently describe account/login/start for:
apiKeychatgptchatgptAuthTokens
There is no clearly documented device auth flow for app-server clients.
Additional information
_No response_
3 Comments
This support already exists in the app-server, but the documentation hasn't been updated yet. See this PR.
noted, thx for the information
Please update the documentation for the Codex App Server, as it would be very helpful for developers integrating it with device authentication.