Desktop OAuth
Codex
Official Codex desktop OAuth — same PKCE loopback flow as Codex CLI/Desktop (localhost:1455).
Failure
Users connect Codex, Antigravity, GitHub Copilot, Xiaomi MiMo, Claude Code, Grok Build, and Kimi Code once. Your app gets PKCE tokens, live models, thinking levels, and provider credentials.
What ships
Failure is the authorization server. Apps never re-implement every provider OAuth dance — they ask for `providers` scope and receive usable credential packages.
Desktop OAuth
Official Codex desktop OAuth — same PKCE loopback flow as Codex CLI/Desktop (localhost:1455).
Google OAuth
Google Antigravity (Cloud Code Assist) via OAuth PKCE — Gemini, Claude, and more through cloudcode-pa.googleapis.com.
Device OAuth
GitHub device-code OAuth (same Copilot GitHub App as VS Code). Session tokens talk to api.githubcopilot.com.
Platform OAuth
Xiaomi MiMo platform OAuth (same flow as MiMo Code CLI) — opens platform.xiaomimimo.com and returns a managed API key.
Setup token
Paste a Claude Code OAuth setup token from `claude setup-token`.
Grok Build OAuth
Authorize with xAI Grok Build via device-code OAuth. Tokens talk to cli-chat-proxy.grok.com (not api.x.ai).
Device OAuth
Moonshot Kimi Code device OAuth (same public client as kimi-cli) — tokens talk to api.kimi.com/coding/v1.