OAuth

OAuth

Scope

This page is a placeholder generated from the official source file structure.

What to verify

  • TODO: Add prerequisites and validation checklist.

Outline (from official headings)

  • The token sink (why it exists)
  • Storage (where tokens live)
  • Reusing Claude Code / Codex CLI OAuth tokens (recommended)
  • OAuth exchange (how login works)
  • Anthropic (Claude Pro/Max)
  • OpenAI Codex (ChatGPT OAuth)
  • Refresh + expiry
  • Bidirectional sync with Claude Code
  • Multiple accounts (profiles) + routing
    1. Preferred: separate agents
    1. Advanced: multiple profiles in one agent

Further reading

  • Official source file: concepts/oauth.md