Skip to content

feat: add multi-provider auth support#13

Open
Anmol1696 wants to merge 2 commits into
mainfrom
feat/multi-provider-auth
Open

feat: add multi-provider auth support#13
Anmol1696 wants to merge 2 commits into
mainfrom
feat/multi-provider-auth

Conversation

@Anmol1696
Copy link
Copy Markdown
Collaborator

Summary

Add support for multiple AI providers in the auth flow:

  • Anthropic - OAuth sign-in or API key
  • OpenAI - API key
  • Google AI - API key

New UI shows provider picker on first run. Users can skip and configure later in Control UI.

Depends on: #12 (feat/optional-auth)

Changes

  • Add AuthProvider enum with provider metadata
  • Add new LauncherState cases: selectingProvider, waitingForApiKey
  • Update auth flow in OpenClawLauncher for multi-provider support
  • New UI views: ProviderSelectionView, AuthMethodView, updated ApiKeyInputView

Test plan

  • Launch app fresh (delete ~/.openclaw-launcher)
  • Verify provider picker appears
  • Test each provider flow (Anthropic OAuth, Anthropic key, OpenAI key, Google key)
  • Test "Skip for now" option

Remove blocking auth requirement on first launch. Users now see a
warning that no auth is configured but the container starts anyway.
Auth can be configured later in the Control UI.
Add support for multiple AI providers in the auth flow:
- Anthropic (OAuth + API key)
- OpenAI (API key)
- Google AI (API key)

New UI shows provider picker on first run, with each provider having
its own configuration flow. Users can skip and configure later in
Control UI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant