Cline Now Supports OpenAI OAuth Sign-In

Cline now supports OAuth sign-in with OpenAI. Authenticate once, access all your ChatGPT subscription models, no API keys required. Available now.

Cline Now Supports OpenAI OAuth Sign-In

TL;DR

  • Cline now supports OAuth sign-in with your OpenAI account — no API keys needed
  • Access all your ChatGPT subscription models directly in Cline with flat-rate pricing
  • Available now in VS Code; set it up in settings under "OpenAI Codex" provider

What Dropped

Cline launched OAuth integration with OpenAI, letting you authenticate once and access all your subscription models without managing API keys. Sign in with your OpenAI account, select your model, and start coding. Tokens refresh automatically across devices.

The Dev Angle

API keys are a security headache. They leak into repos, need rotation, and sprawl across machines. OAuth fixes this: your credentials stay on OpenAI's servers, Cline only gets temporary access tokens, and you authenticate once per device. No more hunting for keys or worrying about exposure.

The model lineup depends on your subscription tier. gpt-5.2-codex handles agentic coding and complex refactors. gpt-5.2 is general-purpose with strong reasoning. gpt-5-mini is fast and cost-effective. o3 tackles advanced reasoning, while o4-mini provides efficient everyday reasoning. You get flat-rate pricing instead of per-token costs if you're on a subscription plan.

Setup is straightforward: open Cline settings, select "OpenAI Codex" from the API Provider dropdown, click "Sign in with OpenAI," authorize in your browser, pick your model, and you're done.

Should You Care?

If you already pay for ChatGPT, this is a no-brainer. You eliminate credential management friction and get predictable pricing. If you're managing API keys across multiple machines or teams, OAuth removes that operational overhead entirely.

If you're not a ChatGPT subscriber, this doesn't change your workflow yet — but Cline signals it's moving toward provider-agnostic authentication. The team plans more OAuth integrations, so expect this pattern to expand. For now, traditional API key auth still works for other providers.

Get started: Download Cline from the VS Code Marketplace, open settings, and follow the setup guide. Questions? Hit up the Discord or Reddit.

Source: Cline