From 6b0d108f096d91f88f42df92815123f20123dda9 Mon Sep 17 00:00:00 2001 From: Dario Ghunney Ware Date: Mon, 24 Feb 2025 09:54:51 +0000 Subject: [PATCH] using request for saml redirect URL --- .../software/SPDF/controller/web/AccountWebController.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/stirling/software/SPDF/controller/web/AccountWebController.java b/src/main/java/stirling/software/SPDF/controller/web/AccountWebController.java index b9cc93d1a..b979e5184 100644 --- a/src/main/java/stirling/software/SPDF/controller/web/AccountWebController.java +++ b/src/main/java/stirling/software/SPDF/controller/web/AccountWebController.java @@ -124,9 +124,7 @@ public class AccountWebController { if (applicationProperties.getEnterpriseEdition().isSsoAutoLogin()) { return "redirect:" - + SPDFApplication.getStaticBaseUrl() - + ":" - + SPDFApplication.getStaticPort() + + request.getRequestURL() + saml2AuthenticationPath; } else { providerList.put(saml2AuthenticationPath, samlIdp + " (SAML 2)");