Legacy Knowledge Base
Published Jun. 30, 2025

Users are redirected to home page on SAML sign-in in a clustered environment

Written By

Madeleine Clay

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Users are sometimes redirected to the home page on login rather than their page of entry.
  • The environment is clustered with SAML authentication, and the property auth.forward.by.last.path is set to true.

Environment

  • Quarterly Release

Resolution

  • This issue is resolved by LPD-39115
  • Please open a help center ticket to request a hotfix containing LPD-39115.

Additional Information

  • This issue occurs because the relayState value is lost when users initiate Single Sign On from one Service Provider node, but are redirected from the Identity Provider to the other Service Provider node.
  • The fix allows the relayState to be cached by all of the nodes in a cluster so that it isn't lost when users switch nodes during sign on.
  • Review SAML Authentication Process Overview for more detailed information.
Did this article resolve your issue ?

Legacy Knowledge Base