-
-
Notifications
You must be signed in to change notification settings - Fork 69.7k
google-gemini-cli provider: client_secret missing error with Gemini CLI OAuth #4585
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't workingstaleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Summary
The google-gemini-cli provider fails to complete OAuth because it expects a client_secret, but the Gemini CLI uses a public OAuth client (no secret required).
Steps to Reproduce
- Install Gemini CLI:
npm install -g @google/gemini-cli - Authenticate Gemini CLI directly:
gemini(works fine) - Try ClawdBot provider:
clawdbot models auth login --provider google-gemini-cli
Error
Error: Token exchange failed: {
"error": "invalid_request",
"error_description": "client_secret is missing."
}
Expected Behavior
ClawdBot should use the same public OAuth flow that Gemini CLI uses (PKCE without client_secret).
Environment
- ClawdBot: 2026.1.24-3
- Gemini CLI: 0.26.0
- OS: Windows 11
Workaround
Using google/gemini-2.5-pro with API key authentication, but this doesn't leverage the Ultra subscription quota that Gemini CLI OAuth provides.
Suggestion
Either:
- Support public OAuth clients (PKCE flow without client_secret)
- Or allow reusing Gemini CLI's existing OAuth tokens from
~/.gemini/oauth_creds.json
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Give feedbackNo fields configured for issues without a type.