From ca3e419904fd37b6f379c78242ca1e2b0139d9b5 Mon Sep 17 00:00:00 2001 From: kawaiinekololis Date: Wed, 20 Mar 2024 14:34:55 +0100 Subject: [PATCH] chore: LiquidBounce Client-ID --- azalea-auth/src/auth.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs index 7b5846c42..74870db25 100755 --- a/azalea-auth/src/auth.rs +++ b/azalea-auth/src/auth.rs @@ -256,8 +256,8 @@ pub struct ProfileResponse { pub capes: Vec, } -// nintendo switch (so it works for accounts that are under 18 years old) -const CLIENT_ID: &str = "00000000441cc96b"; +// liquidboune client id +const CLIENT_ID: &str = "0add8caf-2cc6-4546-b798-c3d171217dd9"; #[derive(Debug, Error)] pub enum GetMicrosoftAuthTokenError { @@ -423,7 +423,7 @@ async fn auth_with_xbox_live( "SiteName": "user.auth.xboxlive.com", // this value should have "d=" prepended if you're using your own app (as opposed to // the default nintendo switch one) - "RpsTicket": access_token + "RpsTicket": format!("d={}", access_token) }, "RelyingParty": "http://auth.xboxlive.com", "TokenType": "JWT"