Skip to content

OAuth login fails for Google AI Pro users: "This client is no longer supported for Gemini Code Assist for individuals" #28229

Description

@akifdaud0786

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

  1. Install Gemini CLI.
  2. Run gemini.
  3. Select "Sign in with Google".
  4. Browser opens.
  5. Sign in with a Google AI Pro account.
  6. Browser displays "Authentication successful".
  7. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions