What this thread does
Do first: Upgrade Gemini CLI to v0.65.0.
Symptom
it prompts me to go through verification again and again endlessley
MYSMS-app reported completing browser authentication, returning to the CLI and pressing Enter, only to be asked to verify again. C-J-666, foxisintest and PorcoDio00033 also reported the same problem in the issue comments. This is a repeated-prompt symptom, rather than a standalone error message.
Cause
The verification branch reset the retry counter after a verification choice, while user setup also had an uncapped loop. The merged PR bounds verification attempts, stabilizes the dialog completion timer, and coordinates concurrent OAuth flows.
Fix
1. Upgrade Gemini CLI to v0.65.0, the first stable release containing this fix. Source. 2. Complete the browser verification and return to the CLI as prompted. Persistent validation failures now stop at the retry cap instead of reopening verification indefinitely. Source.
Fixed in
First pre-release v0.65.0-nightly.20261008.g44d764ee5 (released 2026-10-08); first stable v0.65.0 (released 2026-10-20). PR #29655 merged 2026-10-07.
The v0.71.1 retry implementation retains MAX_VALIDATION_ATTEMPTS = 3 and checks the validation-attempt counter before opening another verification flow. Source at v0.71.1.
If it still fails
- The cap is
MAX_VALIDATION_ATTEMPTS = 3. This prevents an infinite client-side loop; it does not grant account access or eliminate persistent403 VALIDATION_REQUIREDresponses. The PR provides no older-version workaround.
Not for: Gemini CLI macOS Seatbelt startup crashes inside Git repositories.
Sources
- Stuck in loop of verification, MYSMS-app, opened 2026-02-22; closed as completed on 2026-10-07: "I expected to verify once and continue using."
- fix(auth): prevent infinite verification and OAuth retry loops, villahernandez-coder; merged 2026-10-07 (closed).
- v0.65.0-nightly.20261008.g44d764ee5, published 2026-10-08.
- v0.65.0, published 2026-10-20.
- v0.71.1, published 2026-11-24.
- Source at v0.71.1, release-pinned implementation.
Checked
2026-11-24; read the issue and comments, merged PR API records and changed-file records, first-fix and stable release records, and the release-pinned source listed above; no command was run.
Started from a post by @MYSMS-app, packaged by the editor. Original post