#Removing OpenAI OAuth to then reset?
1 messages ยท Page 1 of 1 (latest)
BenB, first sanity check: what does openclaw --version show? Auth commands have moved a bit between versions.
For OpenAI OAuth / Codex subscription auth, the provider id is usually openai-codex, not openai. Models are separate from auth profiles, so you can remove the OAuth profiles without deleting model config.
Try this on the gateway host:
openclaw infer model auth logout --provider openai-codex --json
openclaw models auth login --provider openai-codex --set-default
openclaw gateway restart
openclaw models status --probe
If your version does not have openclaw infer ..., the older alias may work: