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:

  • apiKey
  • chatgpt
  • chatgptAuthTokens

There is no clearly documented device auth flow for app-server clients.

Additional information

_No response_

View original on GitHub ↗

3 Comments

etraut-openai contributor · 4 months ago

This support already exists in the app-server, but the documentation hasn't been updated yet. See this PR.

StevanusPangau · 4 months ago

noted, thx for the information

StevanusPangau · 4 months ago

Please update the documentation for the Codex App Server, as it would be very helpful for developers integrating it with device authentication.