Skip to content

Commit

Permalink
using request for saml redirect URL
Browse files Browse the repository at this point in the history
  • Loading branch information
DarioGii committed Feb 24, 2025
1 parent 0165643 commit c5daf9f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ public String login(HttpServletRequest request, Model model, Authentication auth

if (applicationProperties.getEnterpriseEdition().isSsoAutoLogin()) {
return "redirect:"
+ SPDFApplication.getStaticBaseUrl()
+ request.getProtocol()
+ request.getServerName()
+ ":"
+ SPDFApplication.getStaticPort()
+ request.getServerPort()
+ saml2AuthenticationPath;
} else {
providerList.put(saml2AuthenticationPath, samlIdp + " (SAML 2)");
Expand Down

0 comments on commit c5daf9f

Please sign in to comment.