#ChatGPT OAuth “auth missing.”

1 messages · Page 1 of 1 (latest)

merry topaz
#

I’m using OpenAI Codex (ChatGPT OAuth). The login succeeds, but it still shows “auth missing.” I was able to get it working on another device before, but it doesn’t work on this one, even though I’m using the same ChatGPT account.

raven sealBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

cedar hemlockBOT
#

This almost always ends up being “you logged in successfully, but not in the same place the Gateway is reading auth from”.

A few quick checks that usually pinpoint it:

  1. Version + where the Gateway is actually running
  • Please paste: openclaw --version
  • And: openclaw gateway status
    (That output usually reveals a --profile / OPENCLAW_STATE_DIR mismatch — i.e. CLI wrote creds to one state dir, but the service is running another.)
  1. Are you in remote mode / different machine?
    If this device is just a client pointing at a remote Gateway (gateway.mode: "remote"), then running:
openclaw models auth login --provider openai-codex

on this device will “succeed”… but it stores tokens locally, while the remote gateway host still has no creds → “auth missing”.
In that case: SSH into the gateway host and run the login there.