From 8fae77e8dac74e89d0106e8432e7c9659b24fa38 Mon Sep 17 00:00:00 2001 From: Lukas Staab Date: Sat, 24 Feb 2024 10:36:26 +0100 Subject: [PATCH] dynamic saml registration from env --- config/samlidp.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/config/samlidp.php b/config/samlidp.php index 4c29728..f46f484 100644 --- a/config/samlidp.php +++ b/config/samlidp.php @@ -1,10 +1,13 @@ "http://" . $domain . "/auth/login", + $SPs_config[base64_encode("$protocol$domain:$port/auth/login")] = [ + 'destination' => $protocol . $domain . "/auth/login", 'logout' => "https://" . $domain . '/auth/logout', 'certificate' => env('SAML_SP_CERT_' . $community, ''), 'query_params' => false,