Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git Credential Manager keeps popping up #1415

Closed
AlbertGuan9527 opened this issue Sep 18, 2023 · 5 comments
Closed

Git Credential Manager keeps popping up #1415

AlbertGuan9527 opened this issue Sep 18, 2023 · 5 comments
Labels
auth-issue An issue authenticating to a host

Comments

@AlbertGuan9527
Copy link

Version

2.3.2

Operating system

Windows

OS version or distribution

x64, OS build 23550.1000

Git hosting provider(s)

Azure DevOps

Other hosting provider

No response

(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

The git credential manager won't pop up.

Actual behavior

The Git Credential Manager keeps popping our every couple of minutes, Click at the "Continue" or the "X" seems have no difference to my normal development work.

Logs

gcm-diagnose.log

@AlbertGuan9527 AlbertGuan9527 added the auth-issue An issue authenticating to a host label Sep 18, 2023
@ldennington
Copy link
Contributor

Thanks for opening the issue, Albert! We noticed that you're running on a DevBox, which enables the Windows Broker and Azure DevOps OAuth mode. Azure DevOps OAuth mode is not compatible with VFS for Git. The solution is to switch to PAT mode, which you can do by running the following:

git config --global credential.azreposCredentialType pat

Please let us know if this resolves the issue.

@ldennington
Copy link
Contributor

@AlbertGuan9527 - did converting to PAT mode resolved the issue?

@AlbertGuan9527
Copy link
Author

AlbertGuan9527 commented Sep 25, 2023 via email

@ldennington
Copy link
Contributor

No problem, thanks for your response!

@smaillet-ms
Copy link

Well my issue (#1411) was duped to this one - but even after setting to PAT. I'm still faced with constantly annoying pop-ups. Worse is that they seem to occur at random times when I'm not even using GIT so it is now a serious security threat as I don't know what the heck the permissions request ids for or why it is prompting me. (Kinda defeats the whole purpose of the thing in my book)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth-issue An issue authenticating to a host
Projects
None yet
Development

No branches or pull requests

3 participants