Cursor ask to gitlab username and password infinite times

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Agents Window asks me to log in / connect GitLab every time I switch chats.

GitLab is not connected. I dismiss/cancel the prompt; it comes back on the next chat switch. I only use local agents and do not want GitLab access.

No MCP servers or plugins

Steps to Reproduce

Open Agents on a GitLab repo → dismiss connect prompt → switch to another chat → prompt appears again.

Expected Behavior

I dont want to connect cursor to gitlab, so when i push button Cancel i expect i will not see this again

Operating System

Linux

Version Information

Version: 3.11.19
VS Code Extension API: 1.125.0
Commit: bf249e6efb5b097f23d7e21d7283429f0760b740
Date: 2026-07-12T21:39:24.175Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Linux x64 7.1.3-200.fc44.x86_64 FEDORA 44

For AI issues: which model did you use?

auto

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. I just want to confirm which prompt this is, since the title mentions username and password, but the description mentions the Connect GitLab button. Those are two different dialogs.

  • If it’s the Connect GitLab to Cursor card in the Agents Window, it’s a suggestion to connect GitLab, not a requirement. For local agents, you don’t need to connect. The prompt shows up because the repo’s git remote points to GitLab. There’s no permanent don’t ask again for it yet. Dismiss only works for the current session, so it comes back. This is a known limitation and it’s on our radar, but I can’t share an ETA for a persistent dismiss option.

  • If it’s the system Git dialog with Username / Password fields for HTTPS auth to the repo, that’s a different issue related to git credentials and it’s fixed in a different way.

Can you share a screenshot of the dialog itself? Then I can tell which case you’re hitting and suggest the next steps.