Open iNeedThisToWork opened 2 weeks ago
Is your default web browser still configured to point to Internet Explorer? Go to Settings>Apps>Default apps>Web browser to find out.
Is your default web browser still configured to point to Internet Explorer? Go to Settings>Apps>Default apps>Web browser to find out.
According to the GCM docs, that system
config uses the default browser, which seems to be edge in this case. But the default value is auto
and auto
seems to mean embedded
where available (Windows), system
otherwise.
GCM inherits this embedded webview from MSAL. MSAL does support an edge based WebView2
nowadays, but that requires MSAL + MSAL.Desktop for .NET Framework applications. As GCM Windows Builds are built using .NET Framework, and seemingly without MSAL.Desktop, they only get access to the IE based legacy
webview.
Great find @rimrul, thank you!
@mjcheetham what's your take on this, should Git for Windows configure credential.msauthFlow=system
if Git Credential Manager is selected in Git for Windows' installer?
Is your default web browser still configured to point to Internet Explorer? Go to Settings>Apps>Default apps>Web browser to find out.
Thanks for keeping me honest! Now that you mention it, Microsoft has been messing around with this subsystem on win11 and it looks different now:
There is no setting for "web browser" anymore or, it is hidden.
Setup
Windows 11 Pro 23H2 x64
yes, defaults
no
Details
N/A
git-credential-manager
Be able to use the Webview/WebBrowser of git-credential-manager to refresh oauth login to a https repo on AzureAD / visualstudio.com
Fix:
git config --local credential.msauthFlow system
from https://stackoverflow.com/questions/75766427/git-credential-manager-is-using-ie-but-i-want-it-to-use-edgeWhy am i submitting this? Because it was painful to debug -- i thought the ms edge webview was outdated. I would have never guessed git-credential-manager is trying to use IE under the hood.
N/A