From 324436c0f13cd6d72aeac3d1b914e85d46aee011 Mon Sep 17 00:00:00 2001 From: le king fu Date: Sat, 11 Apr 2026 11:53:53 -0400 Subject: [PATCH] fix: set Logto app ID to sr-desktop-native Update the default LOGTO_APP_ID to match the Native App registered in the Logto instance at auth.lacompagniemaximus.com. Co-Authored-By: Claude Opus 4.6 (1M context) --- src-tauri/src/commands/auth_commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/commands/auth_commands.rs b/src-tauri/src/commands/auth_commands.rs index bcf7218..b68b922 100644 --- a/src-tauri/src/commands/auth_commands.rs +++ b/src-tauri/src/commands/auth_commands.rs @@ -28,7 +28,7 @@ fn logto_endpoint() -> String { // Logto app ID for the desktop native app. fn logto_app_id() -> String { - std::env::var("LOGTO_APP_ID").unwrap_or_else(|_| "simpl-resultat-desktop".to_string()) + std::env::var("LOGTO_APP_ID").unwrap_or_else(|_| "sr-desktop-native".to_string()) } const REDIRECT_URI: &str = "simpl-resultat://auth/callback";