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) <noreply@anthropic.com>
This commit is contained in:
le king fu 2026-04-11 11:53:53 -04:00
parent 4b42d53659
commit 324436c0f1

View file

@ -28,7 +28,7 @@ fn logto_endpoint() -> String {
// Logto app ID for the desktop native app. // Logto app ID for the desktop native app.
fn logto_app_id() -> String { 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"; const REDIRECT_URI: &str = "simpl-resultat://auth/callback";