Device: Mac Mini M4
OS: macOS
Browsers tested: Chrome, Safari, Brave (all same result)
Issue:
After clicking “Sign in with Google” and completing authentication,
the browser redirects to:
But there is NO token in the URL and the app never receives the auth code.
The app stays on the login screen with no error message.
What I’ve tried:
- Multiple Google accounts
- Multiple browsers (Chrome, Safari, Brave, Incognito)
- Reinstall app + clear cache (~/.gemini/antigravity)
- Revoked third-party app access and retried
- Confirmed localhost port is open via lsof
- curl to localhost port fails (Connection refused)
The OAuth callback URL in the login request shows:
redirect_uri=http://localhost:[PORT]/oauth-callback
But the browser never redirects to localhost,
it goes directly to auth-success page without token.
Please help.