git-credential-manager icon indicating copy to clipboard operation
git-credential-manager copied to clipboard

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

Open tyotypic opened this issue 1 year ago • 1 comments

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

tyotypic avatar Jun 19 '24 03:06 tyotypic

`


``` #1642` 

Rodgabrg8391 avatar Jun 25 '24 21:06 Rodgabrg8391