Skip to content

Commit a61a59b

Browse files
committed
bitbucket: use Sourcetree's client ID and secret
Until we have the GCM OAuth application ready in Bitbucket, continue to use Sourcetree's client ID and secret as GCM Windows does.
1 parent bba1e78 commit a61a59b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/shared/Atlassian.Bitbucket/BitbucketConstants.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,17 @@ public static class BitbucketConstants
1010
public static readonly Uri BitbucketApiUri = new Uri("https://api.bitbucket.org");
1111
public const string BitbucketAuthHelperName = "Atlassian.Bitbucket.UI";
1212

13-
public const string OAuth2ClientId = "b5AKdPfpgFdEGpKzPE";
14-
public const string OAuth2ClientSecret = "7NUP5qUtSR3SxdFK4xAGaU6PMNvNdE59";
13+
// TODO: use the GCM client ID and secret once we have this approved.
14+
// Until then continue to use Sourcetree's values like GCM Windows.
15+
//public const string OAuth2ClientId = "b5AKdPfpgFdEGpKzPE";
16+
//public const string OAuth2ClientSecret = "7NUP5qUtSR3SxdFK4xAGaU6PMNvNdE59";
17+
//public static readonly Uri OAuth2RedirectUri = new Uri("http://localhost:46337/");
18+
public const string OAuth2ClientId = "HJdmKXV87DsmC9zSWB";
19+
public const string OAuth2ClientSecret = "wwWw47VB9ZHwMsD4Q4rAveHkbxNrMp3n";
20+
public static readonly Uri OAuth2RedirectUri = new Uri("http://localhost:34106/");
21+
1522
public static readonly Uri OAuth2AuthorizationEndpoint = new Uri("https://bitbucket.org/site/oauth2/authorize");
1623
public static readonly Uri OAuth2TokenEndpoint = new Uri("https://bitbucket.org/site/oauth2/access_token");
17-
public static readonly Uri OAuth2RedirectUri = new Uri("http://localhost:46337/");
1824

1925
public static class OAuthScopes
2026
{

0 commit comments

Comments
 (0)