Gemini Code Assist: Sign in not working

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Signed in via browser by clicking the “Sign in” button. The browser told me that it was successfully authorized. However, the plugin does not recognize it. When clicking the “…” button, it says “Sign out” (see screenshot) → i.e. the sign in somehow worked but the plugin does not show it.

Why am I reporting it here as a bug? Because in VSC it works.

Steps to Reproduce

Click sign in, follow browser link.

Expected Behavior

Don’t show the sign in screen after successfull signing in.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.43
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. I can see you’re running into a sign-in issue with Gemini Code Assist. It’s a Google extension, and sometimes the auth state can get out of sync.

Please try these steps:

  1. Sign out completely: click “…” → “Sign out”
  2. Fully restart Cursor (close all windows)
  3. Open Cursor again and try signing in via the browser
  4. If that doesn’t help, reinstall the Gemini Code Assist extension (uninstall it, then install it again from Extensions)

If it still happens after that, you can also try:

  • Check for conflicts with other extensions by temporarily disabling the others
  • Check logs: Help → Toggle Developer Tools → Console (you may see auth errors)

Let me know if this helped.

Hi Dean Ri,

Thanks, I tried everything you described. Didn’t work. Please see the console output with workbench errors.

Anything else I could try? @deanrie

I’m seeing console errors like “callClient: client not ready”, which points to an extension host initialization issue.

A couple things to try:

  1. Disable all other extensions except Gemini Code Assist, then restart Cursor.
  2. Launch Cursor with extensions disabled from a terminal: cursor --disable-extensions, then enable only Gemini Code Assist.
  3. Check for conflicts, especially with other AI extensions (GitHub Copilot, Codeium, etc.).

If that doesn’t help, try clearing the extension data:

  • Close Cursor
  • Delete the folder ~/.cursor/extensions/google.gemini-code-assist-*
  • Reopen Cursor and reinstall the extension

Let me know if any of these steps helps.

I completely uninstalled and remove Application Support folder of cursor. Then, I installed it fresh and Gemini worked. I then copied my backupped settings.json into the Application Support folder, which then broke Gemini again (same initial bug). The key “geminicodeassist.project” seemed to play a role. I copied its value from the freshly created settings.json to my backupped json and it works now.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.