{
  "title": "Or run OAuth directly",
  "content": "openclaw models auth login --provider openai-codex\njson5 theme={null}\n{\n  agents: { defaults: { model: { primary: \"openai-codex/gpt-5.2\" } } },\n}\n```\n\n* Model refs always use `provider/model` (see [/concepts/models](/concepts/models)).\n* Auth details + reuse rules are in [/concepts/oauth](/concepts/oauth).",
  "code_samples": [
    {
      "code": "### Config snippet",
      "language": "unknown"
    }
  ],
  "headings": [
    {
      "level": "h3",
      "text": "Config snippet",
      "id": "config-snippet"
    },
    {
      "level": "h2",
      "text": "Notes",
      "id": "notes"
    }
  ],
  "url": "llms-txt#or-run-oauth-directly",
  "links": []
}