legacy-knowledge-base
公開されました Jul. 2, 2025

SAML構成後にランディングページのリダイレクトが機能しない

written-by

Ankit Gupta

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

learn-legacy-article-disclaimer-text

問題

  • SAML が構成されると、ランディング ページのリダイレクトが目的のページにリダイレクトされません。

環境

  • Liferay DXP 7.1

解決策

  • ログイン前およびログイン後のアクション (デフォルトランディングページ アクションなど) は、AutoLogin ソリューション (SAML など) と互換性がありません。 これらのログイン前およびログイン後のアクションは、明示的なログインで動作するように設計されています。

    デフォルトランディングページは、明示的にログインした場合にのみ意味があります。他のページが定義されていない場合、ログイン後のデフォルトのランディングページになります。例えば、URL /c/portal/login?redirect=/test/test でログインすると、デフォルトランディングページではなく /test/test に移動します。SAMLプラグインはこれに依存しており、送信された SAMLメッセージが失われるため、リクエストをリダイレクトしない AutoLogin にも依存しています。

    IdP の設定で実現することをお勧めします。 SAMLでは、IdP からRelayStateを渡すことで同様の機能を提供できます。
did-this-article-resolve-your-issue

legacy-knowledge-base