git-ecosystem / git-credential-manager

Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
Other
6.01k stars 1.63k forks source link

account filtering filters out my account, requiring re-authentication for every action #1639

Open tyotypic opened 4 weeks ago

tyotypic commented 4 weeks ago

Version

2.5.0.0

Operating system

Windows

OS version or distribution

Windows 11 Pro (x64)

Git hosting provider(s)

Other - please describe below

Other hosting provider

GitHub Enterprise Cloud

(Azure DevOps only) What format is your remote URL?

None

Can you access the remote repository directly in the browser?

Yes, I can access the repository

Expected behavior

After executing git fetch in the command line, I expect git fetch to work normally.

Actual behavior

After executing git fetch in the command line, the authentication dialog box shows up every time. If I authenticate using "browser", git fetch succeeds, and then the next time I git fetch, the dialog box pops up again. The credential is visible through Windows Credential Manager, and I can confirm that the successful authentication causes it to be added. This only happened on upgrade to git for windows 2.45.2, from 2.41.0.

After executing git config --global credential.githubAccountFiltering false in the command line, git fetch works as expected.

After executing git config --global credential.githubAccountFiltering true in the command line, the authentication dialog plague returns.

Just to confirm, the remote is on GitHub Enterprise Cloud.

Logs

failure with logging.txt filtering-disabled.txt

Rodgabrg8391 commented 3 weeks ago

`



``` #1642`