google-gemini / google-gemini/gemini-cli

Gemini CLI v0.57.0 hangs on "Waiting for authentication..." in subdirectories on macOS

Open
#29,153 2 comments 0 reactions 0 assignees View on GitHub
area/security kind/bug priority/p1 status/bot-triaged
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

### What happened?

Gemini CLI v0.57.0 hangs on "Waiting for authentication..." in subdirectories on macOS

[ACTION REQUIRED] 📎 PLEASE ATTACH THE EXPORTED CHAT HISTORY JSON FILE TO THIS ISSUE IF YOU FEEL COMFORTABLE SHARING IT.

### What did you expect to happen?

gemini cli should open on workspace subdirectories

### Client information

* **CLI Version:** 0.57.0
* **Git Commit:** 6b0ae9a6c
* **Session ID:** db7a1c9f-e5aa-465c-b954-afc1e0fb3570
* **Operating System:** darwin v24.20.0
* **Sandbox Environment:** sandbox-exec (permissive-open)
* **Model Version:** auto-gemini-2.5
* **Auth Type:** oauth-personal
* **Memory Usage:** 758.0 MB
* **Terminal Name:** iTerm2 3.6.11
* **Terminal Background:** #000000
* **Kitty Keyboard Protocol:** Supported

### Login information

_No response_

### Anything else we need to know?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing Gemini CLI v0.57.0 on macOS from a workspace subdirectory and confirm the hang at “Waiting for authentication...”. Trace the authentication behavior for subdirectory launches; done means the CLI opens normally in workspace subdirectories without remaining stuck.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, typescript
Domain
authentication, cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.