From c4bd0ad4104123046c7637b75b0a5fd64941a296 Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Tue, 13 Jan 2026 19:12:23 +0800 Subject: feat: update Microsoft account client ID and enhance login UX with clipboard and auto-open functionality --- src-tauri/src/core/auth.rs | 2 +- ui/src/App.svelte | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src-tauri/src/core/auth.rs b/src-tauri/src/core/auth.rs index 255a7db..ede8f5a 100644 --- a/src-tauri/src/core/auth.rs +++ b/src-tauri/src/core/auth.rs @@ -82,7 +82,7 @@ pub fn generate_offline_uuid(username: &str) -> String { // --- Microsoft Auth Logic --- // Constants -const CLIENT_ID: &str = "499546d9-bbfe-4b9b-a086-eb3d75afb78f"; +const CLIENT_ID: &str = "fe165602-5410-4441-92f7-326e10a7cb82"; const SCOPE: &str = "XboxLive.Signin offline_access openid profile email"; #[derive(Debug, Serialize, Deserialize)] diff --git a/ui/src/App.svelte b/ui/src/App.svelte index 8ec0da1..c3848b2 100644 --- a/ui/src/App.svelte +++ b/ui/src/App.svelte @@ -1,5 +1,6 @@