Skip to content

Commit 1c80d4b

Browse files
author
Matthew John Cheetham
authored
2 parents 7b60eee + f600e92 commit 1c80d4b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/shared/GitLab/GitLabConstants.cs

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ public static class GitLabConstants
1010

1111
// Owned by https://gitlab.com/gitcredentialmanager
1212
public const string OAuthClientId = "172b9f227872b5dde33f4d9b1db06a6a5515ae79508e7a00c973c85ce490671e";
13-
public const string OAuthClientSecret = "7da92770d1447508601e4ba026bc5eb655c8268e818cd609889cc9bae2023f39";
1413

1514
public static readonly Uri OAuthRedirectUri = new Uri("http://127.0.0.1/");
1615
// https://docs.gitlab.com/ee/api/oauth2.html#authorization-code-flow

src/shared/GitLab/GitLabOAuth2Client.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ private static string GetClientSecret(ISettings settings)
5959
return clientSecret;
6060
}
6161

62-
return GitLabConstants.OAuthClientSecret;
62+
// no secret necessary
63+
return null;
6364
}
6465
}
6566
}

0 commit comments

Comments
 (0)