# Cursor ask to gitlab username and password infinite times

**URL:** <https://forum.cursor.com/t/cursor-ask-to-gitlab-username-and-password-infinite-times/165824>\
**Category:** Bug Reports\
**Tags:** gitlab, agents-window\
**Created:** [July 15, 2026, 7:42pm UTC](https://forum.cursor.com/t/cursor-ask-to-gitlab-username-and-password-infinite-times/165824 "2026-07-15T19:42:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maksym\_Tymofeiev](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/maksym_tymofeiev/32/114700_2.png) [@Maksym\_Tymofeiev](https://forum.cursor.com/u/Maksym_Tymofeiev)\
**Post date:** [July 15, 2026, 7:42pm UTC](https://forum.cursor.com/t/cursor-ask-to-gitlab-username-and-password-infinite-times/165824/1 "2026-07-15T19:42:19Z")

</div>

### 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

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [July 16, 2026, 4:15am UTC](https://forum.cursor.com/t/cursor-ask-to-gitlab-username-and-password-infinite-times/165824/5 "2026-07-16T04:15:13Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/127254_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [August 15, 2026, 4:15am UTC](https://forum.cursor.com/t/cursor-ask-to-gitlab-username-and-password-infinite-times/165824/6 "2026-08-15T04:15:28Z")

</div>

Closed on August 15, 2026, 4:15am UTC

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