openclaw/extensions/google-gemini-cli-auth
Vincent Koc e4d80ed556
CI: restore main detect-secrets scan (#38438)
* Tests: stabilize detect-secrets fixtures

* Tests: fix rebased detect-secrets false positives

* Docs: keep snippets valid under detect-secrets

* Tests: finalize detect-secrets false-positive fixes

* Tests: reduce detect-secrets false positives

* Tests: keep detect-secrets pragmas inline

* Tests: remediate next detect-secrets batch

* Tests: tighten detect-secrets allowlists

* Tests: stabilize detect-secrets formatter drift
2026-03-07 10:06:35 -08:00
..
README.md chore(onboarding): add explicit account-risk warning for Gemini CLI OAuth and docs (#16683) 2026-02-26 15:25:42 -05:00
index.ts Plugins/google-gemini-cli-auth: migrate to scoped plugin-sdk imports 2026-03-04 02:35:12 -05:00
oauth.test.ts CI: restore main detect-secrets scan (#38438) 2026-03-07 10:06:35 -08:00
oauth.ts Plugins/google-gemini-cli-auth: migrate to scoped plugin-sdk imports 2026-03-04 02:35:12 -05:00
openclaw.plugin.json chore: Run `pnpm format:fix`. 2026-01-31 21:13:13 +09:00
package.json chore: bump version to 2026.3.7 2026-03-07 10:09:02 +00:00

README.md

Google Gemini CLI Auth (OpenClaw plugin)

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

Account safety caution

  • This plugin is an unofficial integration and is not endorsed by Google.
  • Some users have reported account restrictions or suspensions after using third-party Gemini CLI and Antigravity OAuth clients.
  • Use caution, review the applicable Google terms, and avoid using a mission-critical account.

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