# Github Username/Password Keeps Popping up

**URL:** <https://forum.cursor.com/t/github-username-password-keeps-popping-up/165464>\
**Category:** Bug Reports\
**Tags:** agents-window, github, login\
**Created:** [July 11, 2026, 11:55am UTC](https://forum.cursor.com/t/github-username-password-keeps-popping-up/165464 "2026-07-11T11:55:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy\_Wong](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@Andy\_Wong](https://forum.cursor.com/u/Andy_Wong)\
**Post date:** [July 11, 2026, 11:55am UTC](https://forum.cursor.com/t/github-username-password-keeps-popping-up/165464/1 "2026-07-11T11:55:35Z")

</div>

### Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

### Describe the Bug

Not sure what’s going. But I keep getting this annoying Github username/password pop up everytime I switch from one chat to another all of sudden tonight.

### Steps to Reproduce

If you switch between chats in the agents window, I keep on getting this.

### Expected Behavior

It shouldn’t pop up at all

### Screenshots / Screen Recordings

 ![Screenshot 2026-07-11 at 9.51.19 PM.png](https://us1.discourse-cdn.com/cursor1/original/3X/8/9/89c2160b491803b41c6bb4e0420661fc8a5b00cd.png)

### Operating System

MacOS

### Version Information

Version: 3.11.13  
VS Code Extension API: 1.125.0  
Commit: 3f21b08f0b436a07be29fbfe00b304fa15553350  
Date: 2026-07-10T01:45:28.254Z  
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: Darwin arm64 23.6.0

### For AI issues: which model did you use?

Not applicable.

### 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 11, 2026, 4:13pm UTC](https://forum.cursor.com/t/github-username-password-keeps-popping-up/165464/5 "2026-07-11T16:13:48Z")

</div>

Hey, thanks for the report. This is the HTTPS auth prompt from the built-in Git. Its cache expires pretty quickly, and when you switch chats in the Agents Window, each workspace triggers git operations against the remote, so the username request keeps popping up.

This is a known bug. There’s no ETA for a fix yet, but here are a couple of workarounds that usually remove the prompt completely:

1. Set up a git credential helper so your creds get cached once. You’re on macOS, so:

2. Or switch the repo remote from HTTPS to SSH, then there won’t be any HTTPS prompts at all:

3. Or sign in to the built-in GitHub provider via Accounts / Source Control sign-in, so there’s an active GitHub session.

Let me know if none of these help.

---

<div class="post-metadata">

**Author:** ![Andy\_Wong](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@Andy\_Wong](https://forum.cursor.com/u/Andy_Wong)\
**Post date:** [July 12, 2026, 9:32am UTC](https://forum.cursor.com/t/github-username-password-keeps-popping-up/165464/7 "2026-07-12T09:32:28Z")

</div>

Thanks.

Looks like the problem went away. I couldn’t reproduce it even though I restarted the agents window a few times and it kept popping up…

But now I can’t reproduce.. ☹

But if it happens again, I will check this thread again for the troubleshooting resolution notes.

---

<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 25, 2026, 1:17pm UTC](https://forum.cursor.com/t/github-username-password-keeps-popping-up/165464/9 "2026-07-25T13:17:03Z")

</div>

Great to hear the prompt is gone. We’ve also fixed this issue on the engine side since then, so it shouldn’t come back.

If it does show up again, the workarounds above are still valid: using a credential helper, an SSH remote, or signing in via the built-in GitHub provider. Let me know in the thread if anything comes up.

---

<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:** [July 27, 2026, 1:17pm UTC](https://forum.cursor.com/t/github-username-password-keeps-popping-up/165464/10 "2026-07-27T13:17:45Z")

</div>

Closed on July 27, 2026, 1:17pm UTC

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