Cannot cleanly exit OOBE flow if GOOGLE_CLOUD_PROJECT is not set for a Workspace account
What happened?
If you start the first time run flow, and attempt to sign in with a Workspace account without the GOOGLE_CLOUD_PROJECT environment variable set, you cannot cleanly exit the tool in order to go back to the CLI and set it.
Steps:
- Run
npx https://github.com/google-gemini/gemini-cli - Select "Login with Google"
- Continue sign in on browser; use a Workspace account without
GOOGLE_CLOUD_PROJECTvariable being set locally. - Terminal shows "Failed to login. Message: This account requires setting the GOOGLE_CLOUD_PROJECT env var. See https://goo.gle/gemini-cli-auth-docs#workspace-gca"
Hitting Esc to back out, just attempts to re-authenticate. Multiple presses of Ctrl-C will back out eventually, but no on-screen feedback is given.
What did you expect to happen?
Esc to exit Gemini during the set up flow; or Ctrl-C gives feedback that the tool is exiting.
Client information
(Unable to show; first time setup not complete.)
$ gemini /about
# paste output here
Login information
Google Workspace account (google.com domain).
Anything else we need to know?
No response
Thanks @clocky , looking into it
Found possible duplicate issues:
- #2354: (0.9144679580470315)
Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.
It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.
Thank you for your contribution!
Found possible duplicate issues:
- #8605
If you believe this is not a duplicate, please remove the status/possible-duplicate label.
Please reopen if you still encounter the issue with latest gemini-cli