In regular instances the GitHub Select Account window pops up asking me to select an account to work from. I use 2 accounts - one for private and one for work related issues and this is extremely annoying. I dont have any GutHub related extension installed, so thats not the issue. Can you please provide help here? Thank you.
Hey, this isn’t a Cursor bug. It’s behavior inherited from the VS Code authentication framework. When you’re signed into two GitHub accounts in the IDE, the built-in Git extension uses askpass for HTTPS operations like push, pull, fetch, and clone. It can’t auto-pick which account to use, so you keep seeing Select Account. You don’t need any third-party GitHub extensions for this. The built-in Git extension can trigger the picker too.
What you can do:
- Sign out of the extra account in Cursor.
- If you really need both accounts, switch your remotes to SSH instead of HTTPS:
git remote set-url origin [email protected]:.... SSH doesn’t use the GitHub auth provider, so the picker won’t show up. - When the picker appears, check if there’s an option like Don’t ask again for this extension. If it’s there, it’ll save the choice for that specific extension and scope, but it may pop up again for a different scope or if the extension gets re-enabled.
The most reliable fix is using SSH or only having one account signed in to the IDE. Let me know if anything still doesn’t work.