diff --git a/src/shared/GitLab/GitLabHostProvider.cs b/src/shared/GitLab/GitLabHostProvider.cs index decd1d8df..eda6e2f0f 100644 --- a/src/shared/GitLab/GitLabHostProvider.cs +++ b/src/shared/GitLab/GitLabHostProvider.cs @@ -4,6 +4,7 @@ using GitCredentialManager; using GitCredentialManager.Authentication.OAuth; using System.Net.Http.Headers; +using System.Linq; namespace GitLab { @@ -69,6 +70,11 @@ public override bool IsSupported(InputArguments input) return true; } + if (input.WwwAuth.Any(x => x.Contains("realm=\"GitLab\""))) + { + return true; + } + return false; }