deploy
All checks were successful
Deploy / deploy-staging (push) Successful in 29s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-27 23:59:21 +02:00
parent dad3e0a629
commit 2d46b05b1e
7 changed files with 209 additions and 41 deletions

View File

@@ -41,6 +41,16 @@ if ($auth->isAuthenticated()) {
}
}
if (
!$auth->isAuthenticated()
&& $auth->isConfigured()
&& empty($_SESSION['desktop_silent_sso_attempted'])
) {
$_SESSION['desktop_silent_sso_attempted'] = true;
header('Location: /auth/keycloak/?mode=silent', true, 302);
exit;
}
$app = new App($projectRoot);
$desktopPayload = $app->desktopPayload();