SSO login works in browser but not in the desktop app

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

SSO login works in browser but not in the desktop app, Request ID: 5a7d9a6f-1652-4005-9c5c-8a2b73e63e72
{“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.
wnt: Authentication error If you are logged in, try logging out and back in.
at P5A (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34267:23452)
at B5A (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34267:22658)
at $5A (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34268:6285)
at Wou.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34268:10400)
at async $Oa.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46832:10024)
at async n5u.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46886:9277)
at async n5u.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46886:13663)
at async bMe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34329:17597)
at async Ea (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:45811:4826)

Steps to Reproduce

Request ID: 5a7d9a6f-1652-4005-9c5c-8a2b73e63e72
{“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.
wnt: Authentication error If you are logged in, try logging out and back in.
at P5A (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34267:23452)
at B5A (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34267:22658)
at $5A (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34268:6285)
at Wou.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34268:10400)
at async $Oa.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46832:10024)
at async n5u.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46886:9277)
at async n5u.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:46886:13663)
at async bMe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34329:17597)
at async Ea (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:45811:4826)

Operating System

MacOS

Version Information

Version: 2.6.19 (Universal)
VSCode Version: 1.105.1
Commit: 224838f96445be37e3db643a163a817c15b36060
Date: 2026-03-12T04:07:27.435Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

For AI issues: which model did you use?

Version: 2.6.19 (Universal)
VSCode Version: 1.105.1
Commit: 224838f96445be37e3db643a163a817c15b36060
Date: 2026-03-12T04:07:27.435Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

Does this stop you from using Cursor

Yes - Cursor is unusable

Hi Dharani,

Thank you for reporting this with the error details.

Based on what we can see, it looks like this was a temporary authentication issue where the desktop app lost its login session. It appears to have resolved itself – are you still experiencing the issue, or are things working for you now?

If the issue does come back, here are the most effective steps to resolve it:

  1. Full sign-out and cache clear:

    • In Cursor, click the gear icon (top-right) and select Sign Out

    • Fully quit Cursor (check Activity Monitor to make sure no Cursor processes are still running)

    • Delete the folder ~/Library/Application Support/Cursor

    • Reopen Cursor and sign in via SSO again

  2. Check your system clock: Make sure your Mac’s date and time are set to automatic (System Settings > General > Date & Time > Set date and time automatically).

  3. Try toggling HTTP/2: Go to Cursor Settings > Network and try enabling Disable HTTP/2. Some corporate network configurations can interfere with the authentication flow.

If it keeps recurring, since you’re on an Enterprise plan, reaching out to [email protected] will get you faster, account-specific support.

Best,
Mohit

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