-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Problem (one or two sentences)
New users have too much setup friction when connecting providers, and OpenAI setup currently relies on manual API key handling. This causes drop-off during onboarding and increases misconfiguration issues.
Context (who is affected and when)
This most affects first-time users configuring providers in Roo Code, especially when trying to get started quickly from a fresh install. It is also common for users who want OpenAI access but prefer account-based sign-in over key management.
Desired behavior (conceptual, not technical)
Provider setup should feel guided and reliable, with clear onboarding steps, sensible defaults, and immediate feedback that a provider is ready to use. OpenAI should support OAuth sign-in so users can connect securely without manually creating/pasting API keys.
Constraints / preferences (optional)
- Keep setup fast for first-time users
- Make failures actionable and easy to recover from
- Preserve explicit user consent and clear auth state visibility
- Avoid cluttering advanced settings for basic onboarding
Acceptance criteria (optional)
Given a new user opening provider setup
When they complete onboarding
Then they can connect at least one provider end-to-end with clear success/failure status
And onboarding clearly distinguishes recommended defaults vs advanced options
And OpenAI can be connected via OAuth flow without manual API key entry
But existing API-key-based OpenAI configuration continues to work
Proposed approach (optional)
- Add a dedicated provider onboarding flow that guides users through provider selection, credential method, validation, and model readiness checks.
- Introduce OpenAI OAuth sign-in path alongside existing API-key auth.
- Add post-auth verification and user-facing status indicators (connected, needs action, failed with reason).
- Include migration-safe handling so existing profiles/settings remain valid.
Trade-offs / risks (optional)
- OAuth introduces callback/session complexity and potential edge cases in remote/dev environments
- Additional onboarding UX must stay lightweight to avoid slowing experienced users
- Supporting both OAuth and API key paths increases testing matrix
Request checklist
- I've searched existing Issues and Discussions for duplicates
- This describes a specific problem with clear context and impact