openclaw/extensions/google-gemini-cli-auth
Peter Steinberger 59c0b2bb37 refactor(auth): reuse oauth auth result helper 2026-02-15 19:37:40 +00:00
..
README.md
index.ts refactor(auth): reuse oauth auth result helper 2026-02-15 19:37:40 +00:00
oauth.test.ts
oauth.ts
openclaw.plugin.json
package.json chore: bump version to 2026.2.15 2026-02-15 04:50:31 +01:00

README.md

Google Gemini CLI Auth (OpenClaw plugin)

OAuth provider plugin for Gemini CLI (Google Code Assist).

Enable

Bundled plugins are disabled by default. Enable this one:

openclaw plugins enable google-gemini-cli-auth

Restart the Gateway after enabling.

Authenticate

openclaw models auth login --provider google-gemini-cli --set-default

Requirements

Requires the Gemini CLI to be installed (credentials are extracted automatically):

brew install gemini-cli
# or: npm install -g @google/gemini-cli

Env vars (optional)

Override auto-detected credentials with:

  • OPENCLAW_GEMINI_OAUTH_CLIENT_ID / GEMINI_CLI_OAUTH_CLIENT_ID
  • OPENCLAW_GEMINI_OAUTH_CLIENT_SECRET / GEMINI_CLI_OAUTH_CLIENT_SECRET