What happened?
Summary
Gemini CLI fails to authenticate using Google Sign-In even though browser authentication succeeds.
Environment
- OS: Windows 11
- Shell: PowerShell
- Gemini CLI: v0.49.0
- Installation:
npm install -g @google/gemini-cli
- Subscription:
Google AI Pro
Steps to Reproduce
- Install Gemini CLI.
- Run
gemini.
- Select "Sign in with Google".
- Browser opens.
- Sign in with a Google AI Pro account.
- Browser displays "Authentication successful".
- Return to the terminal.
Expected Behavior
Gemini CLI should authenticate successfully and start normally.
Actual Behavior
Authentication fails with:
Failed to sign in.
Message:
This client is no longer supported for Gemini Code Assist for individuals.
To continue using Gemini, please migrate to the Antigravity suite of products.
Additional Information
- Reinstalled Gemini CLI.
- Deleted the ~/.gemini configuration.
- No GEMINI_API_KEY environment variables are present.
- Browser authentication completes successfully.
- Problem persists on a clean installation.
What did you expect to happen?
I expected Gemini CLI to successfully authenticate my Google AI Pro account after I selected "Sign in with Google". After completing the OAuth login in my browser and seeing the "Authentication successful" page, I expected the CLI to return to the terminal, complete the authentication process, and start an interactive Gemini session without any errors.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
# paste output here
Login information
No response
Anything else we need to know?
No response
What happened?
Summary
Gemini CLI fails to authenticate using Google Sign-In even though browser authentication succeeds.
Environment
npm install -g @google/gemini-cli
Google AI Pro
Steps to Reproduce
gemini.Expected Behavior
Gemini CLI should authenticate successfully and start normally.
Actual Behavior
Authentication fails with:
Failed to sign in.
Message:
This client is no longer supported for Gemini Code Assist for individuals.
To continue using Gemini, please migrate to the Antigravity suite of products.
Additional Information
What did you expect to happen?
I expected Gemini CLI to successfully authenticate my Google AI Pro account after I selected "Sign in with Google". After completing the OAuth login in my browser and seeing the "Authentication successful" page, I expected the CLI to return to the terminal, complete the authentication process, and start an interactive Gemini session without any errors.
Client information
Client Information
Run
geminito enter the interactive CLI, then run the/aboutcommand.Login information
No response
Anything else we need to know?
No response