A workspace-enabled marketplace plugin, sourced from a private GitHub repo repeatedly fails to install on first load. The failure is an authentication failure inside the plugin loader’s git fetch invocation, even though the same machine can authenticate to the same repo via every other git path (Git Credential Manager / Windows Credential Manager already has a working credential — git ls-remote succeeds). Notably, the loader subsequently succeeds via a different internal code path (shallowClone …) without any credential change on the box, suggesting two non-equivalent auth paths inside Cursor’s plugin loader.
Steps to Reproduce
See the zip file that contains the full logs. Cursor itself provided the internal diagnosis
Expected Behavior
I expect marketplace to allow private git backed repos to be pulled in
This is a known bug on Windows. The plugin loader’s git invocation disables credential helpers (including Windows Credential Manager / GCM) via hard-coded flags, which is why the fetch fails even though your system git can authenticate to the same repo just fine. Your observation about shallowClone succeeding via a different code path is consistent with what we’ve been tracking.
Option B: SSH key with explicit config (no PAT rotation needed)
Set up a dedicated SSH key (id_ed25519_cursor), add an explicit Host github.com block in ~/.ssh/config with IdentityFile + IdentitiesOnly yes, and authorize the key via SSO for your org.
Both workarounds bypass the credential muzzle because _netrc is read natively by curl before credential helpers, and SSH is the first stage attempted before HTTPS.