app-server README shows stale ChatGPT authUrl host

Open 💬 0 comments Opened Jun 1, 2026 by bar-d

What happened?

The app-server README's ChatGPT browser-flow example shows the authUrl host as https://chatgpt.com/...:

{ "id": 3, "result": { "type": "chatgpt", "loginId": "<uuid>", "authUrl": "https://chatgpt.com/…&redirect_uri=http%3A%2F%2Flocalhost%3A<port>%2Fauth%2Fcallback" } }

The current login server builds the browser auth URL from DEFAULT_ISSUER = "https://auth.openai.com" and formats it as {issuer}/oauth/authorize?.... The app-server account processor returns that generated auth_url directly.

Expected behavior

The README example should use the current auth.openai.com/oauth/authorize host/path, or otherwise clarify that the shown URL is only illustrative and not the exact host returned by the current implementation.

Additional context

I searched open issues and PRs for terms including authUrl, chatgpt.com, auth.openai.com, and app-server, and did not find an existing open item that appears to cover this app-server README drift.

View original on GitHub ↗