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

Your browser is not supported or up-to-date when renewing credentials for AzureDevOps

Open omri-suissa-clearmash opened this issue 3 years ago • 7 comments

Version

Git-2.40.1-64-bit

Operating system

Windows

OS version or distribution

Windows 10

Git hosting provider(s)

Azure DevOps

Other hosting provider

No response

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

https://{org}.visualstudio.com

Can you access the remote repository directly in the browser?

Yes, I can access the repository

Expected behavior

To be able to authenticate...

Actual behavior

image after entering my credentials. It seems that GCM is using IE instead of Edge to host the Azure AD authentication.

Logs

No response

omri-suissa-clearmash avatar Apr 27 '23 09:04 omri-suissa-clearmash

This broken version of the Git Credential Manager appears to be bundled in the current release of Git For Windows.

I've tried versions 2.40.1 2.40.0 2.39.2 and it's failing in the same way in all of them. So how do we get a version that works?

Neutrino-Sunset avatar May 09 '23 15:05 Neutrino-Sunset

I have the same issue, dont understand why this issue is closed without explanation?

martijn-van-den-bergh avatar May 25 '23 07:05 martijn-van-den-bergh

@omri-suissa-clearmash Care to elaborate on why you closed this out?

cookbr avatar May 26 '23 18:05 cookbr

I found that the issue was related to AzureDevOps login and not to git-credential-manager. MS support solve this issue by resetting some settings in my account (MFA). It would be nice if git-credential-manager would use a modern browser anyway, but the problem was a wrong configuration of the devops MFA (not sure what exactly, they reset it from their side).

omri-suissa-clearmash avatar May 28 '23 08:05 omri-suissa-clearmash

I have the same issue, @omri-suissa-clearmash. Could you please elaborate on what you reset? Deleted and readded MFA?

zuzhal avatar Jun 30 '23 12:06 zuzhal

I'm not sure, the MS support did it on their side...

omri-suissa-clearmash avatar Jul 03 '23 07:07 omri-suissa-clearmash

Select Chrome as your default browser, and run:

git config --global credential.msauthFlow system

Erre35 avatar Apr 03 '25 21:04 Erre35