Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Some time ago, I installed the CLI (“agent” cmd), and since then I’ve been having quite a serious authentication issue.
When I open Cursor, I have to log out and then log back in. If I open a new window, I have to do it again for the sidebar to work properly.
The same thing happens when I load a different project in the same window - I have to log in again.
Has anyone else experienced this issue?
Steps to Reproduce
- Install the “Agent”.
- Open the Cursor application.
- Check if the sidebar communication works - if it does, proceed to step 4.
- Switch the project / open a new folder (File => Open => select folder), then test the sidebar.
- Open a new Cursor window, select a folder, and see if the sidebar works.
Expected Behavior
User session should be shared in each window.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
IDE:
Version: 2.5.0-pre.16.patch.1
VSCode Version: 1.105.1
Commit: 6a660d2ce321a7b8cb168c733bb17a388c2b8660
Date: 2026-01-29T10:08:42.054Z
Build Type: Stable
Release Track: Nightly
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.2.0
CLI:
CLI Version 2026.01.28-fd13201
OS darwin (arm64)
Terminal apple-terminal
Shell zsh
For AI issues: add Request ID with privacy disabled
Request ID: c3c3029d-7185-425e-8bff-a3e91a1e8f82
{“error”:“ERROR_NOT_LOGGED_IN”,“details”:{“title”:“Authentication error”,“detail”:“If you are logged in, try logging out and back in.”,“isRetryable”:false,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
Authentication error If you are logged in, try logging out and back in.
ZYe: Authentication error If you are logged in, try logging out and back in.
at JXf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:36357:38408)
at VXf (vscode-file://vscode-…
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
