#Gemini Cli Oauth failed

1 messages · Page 1 of 1 (latest)

granite cradle
#

I'm the only one that has a permanent failure on Gemini Cli and Antigravity oauth login? When I choose the Google account on the web browser, then the next page say that It can't reach the callback page on localhost. Of course I'm running everything locally

#

Solved, I need to paste the url in the shell

olive orchid
#

i have an issue where it doesn't even detect gemini cli for some reason and just exits directly

viscid cypressBOT
#

For Gemini CLI OAuth, OpenClaw literally looks for a gemini executable on PATH. If it can’t findInPath("gemini"), the auth command will just fail/exit.

A quick checklist to narrow it down:

  1. What version are you on?
    Run and paste:
openclaw --version
  1. Is the Gemini CLI actually installed + on PATH in the same shell?
    Run and paste:
command -v gemini
gemini --version
  • If command -v gemini prints nothing → install it (one of these):
#
brew install gemini-cli
# or
npm install -g @google/gemini-cli

(If you used npx gemini ..., that typically won’t put a persistent gemini binary on PATH.)

  1. Is the plugin enabled?
openclaw plugins list

You should see google-gemini-cli-auth enabled (if not: openclaw plugins enable google-gemini-cli-auth, then restart gateway).

  1. Re-run the login with verbosity and paste the exact output
openclaw models auth login --provider google-gemini-cli --set-default --verbose