From 02deee08a31368c6188e5bedc6dbe7ab69aba2ff Mon Sep 17 00:00:00 2001 From: Derrick Stolee Date: Wed, 13 Mar 2024 09:26:14 -0400 Subject: [PATCH] Revert "GVFSVerb: Use OAuth credentials by default" This reverts commit abcb73f08f20111ff3519adde44f5714cc61acaf. Using this authentication mode by default is breaking some automated scenarios on build agents that use "gvfs clone". Removing the new default is a fast measure to fix these users, while a longer-term consideration for increasing adoption of OAuth can be done at a later date with the proper parties engaged. --- GVFS/GVFS/CommandLine/GVFSVerb.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/GVFS/GVFS/CommandLine/GVFSVerb.cs b/GVFS/GVFS/CommandLine/GVFSVerb.cs index cd74600e4..8449b5bab 100644 --- a/GVFS/GVFS/CommandLine/GVFSVerb.cs +++ b/GVFS/GVFS/CommandLine/GVFSVerb.cs @@ -312,11 +312,6 @@ public static bool TrySetRequiredGitConfigSettings(Enlistment enlistment) // Disable the builtin FS Monitor in case it was enabled globally. { "core.useBuiltinFSMonitor", "false" }, - - // Set the GCM credential method to use OAuth tokens. - // See https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/configuration.md#credentialazreposcredentialtype - // for more information. - { "credential.azreposCredentialType", "oauth" }, }; if (!TrySetConfig(enlistment, requiredSettings, isRequired: true))