diff --git a/osu.Game/Online/API/APIAccess.cs b/osu.Game/Online/API/APIAccess.cs index 0f16d103e2..a6717b99db 100644 --- a/osu.Game/Online/API/APIAccess.cs +++ b/osu.Game/Online/API/APIAccess.cs @@ -19,8 +19,8 @@ namespace osu.Game.Online.API private OAuth authentication; public string Endpoint = @"https://new.ppy.sh"; - const string ClientId = @"daNBnfdv7SppRVc61z0XuOI13y6Hroiz"; - const string ClientSecret = @"d6fgZuZeQ0eSXkEj5igdqQX6ztdtS6Ow"; + const string ClientId = @"5"; + const string ClientSecret = @"FGc9GAtyHzeQDshWP5Ah7dega8hJACAJpQtw6OXk"; ConcurrentQueue queue = new ConcurrentQueue(); diff --git a/osu.Game/Online/API/OAuth.cs b/osu.Game/Online/API/OAuth.cs index 3358fac0e8..0aa1ed84e1 100644 --- a/osu.Game/Online/API/OAuth.cs +++ b/osu.Game/Online/API/OAuth.cs @@ -30,7 +30,7 @@ namespace osu.Game.Online.API { var req = new AccessTokenRequestPassword(username, password) { - Url = $@"{endpoint}/oauth/access_token", + Url = $@"{endpoint}/oauth/token", Method = HttpMethod.POST, ClientId = clientId, ClientSecret = clientSecret @@ -55,7 +55,7 @@ namespace osu.Game.Online.API { var req = new AccessTokenRequestRefresh(refresh) { - Url = $@"{endpoint}/oauth/access_token", + Url = $@"{endpoint}/oauth/token", Method = HttpMethod.POST, ClientId = clientId, ClientSecret = clientSecret