gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

The login documentation for free users is incorrect; it's asking for "Google Cloud Project." I can't log in.

Open Neinndall opened this issue 11 months ago • 3 comments

What happened?

Image

It says that it is not necessary to specify a project for individual free users for their individual use, and GEMINI CLI is asking for a project for my Google account, why?

> /auth

ℹ Code Assist login required.
  Attempting to open authentication page in your browser.
  Otherwise navigate to:
*******************
ℹ Waiting for authentication...
ℹ Authentication succeeded
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                      │
│ ? Get started                                                                                                        │
│                                                                                                                      │
│   How would you like to authenticate for this project?                                                               │
│                                                                                                                      │
│   ● 1. Login with Google                                                                                             │
│     2. Use Gemini API Key                                                                                            │
│     3. Vertex AI                                                                                                     │
│                                                                                                                      │
│   Failed to login. Message: This account requires setting the GOOGLE_CLOUD_PROJECT or GOOGLE_CLOUD_PROJECT_ID env    │
│   var. See https://goo.gle/gemini-cli-auth-docs#workspace-gca                                                        │
│                                                                                                                      │
│   (Use Enter to select)                                                                                              │
│                                                                                                                      │
│   Terms of Services and Privacy Notice for Gemini CLI                                                                │
│                                                                                                                      │
│   https://github.com/google-gemini/gemini-cli/blob/main/docs/tos-privacy.md                                          │
│                                                                                                                      │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

On: Windows 11

What did you expect to happen?

Log in

Client information

v0.21.0-nightly.20251202.2d935b379 auth login own account of google

Login information

No response

Anything else we need to know?

No response

Neinndall avatar Dec 03 '25 12:12 Neinndall

Found possible duplicate issues:

  • #2150
  • #10153
  • #14440
  • #14313
  • #12082
  • #9917
  • #10841
  • #7297
  • #13246
  • #10835

If you believe this is not a duplicate, please remove the status/possible-duplicate label.

gemini-cli[bot] avatar Dec 03 '25 12:12 gemini-cli[bot]

Hi @Neinndall, could you try the steps in #13516 to see if they help.

galdawave avatar Dec 03 '25 22:12 galdawave

你好,可以试试#13516里的步骤,看看有没有帮助吗?

Have we made any new progress? The problem remains unsolved

1lqz1 avatar Dec 16 '25 15:12 1lqz1

Has there been any progress on this issue, bro?

1lqz1 avatar Dec 18 '25 13:12 1lqz1

Same problem here

kathrinakampe-hue avatar Jan 03 '26 21:01 kathrinakampe-hue

Docs are correct in this case, with some exceptions individual accounts do not require a Google Cloud Project. #17948 does capture a potential UI messaging issue and is much more specific. Closing this issue.

g-samroberts avatar Mar 04 '26 23:03 g-samroberts