#ChatGPT OAuth “auth missing.”
1 messages · Page 1 of 1 (latest)
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:
- Version + where the Gateway is actually running
- Please paste:
openclaw --version - And:
openclaw gateway status
(That output usually reveals a--profile/OPENCLAW_STATE_DIRmismatch — i.e. CLI wrote creds to one state dir, but the service is running another.)
- 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.