When SAML is enabled, logging out from particular Site should stay at the respective site itself
Written By
Sivakumar Perumal
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
- When SAML is enabled, logging out from "SITE A" is not redirecting/stays at the respective site's home page itself.
Environment
- Liferay DXP 7.1
- SAML plugin
Resolution
- The ideal scenario is authentication functions at the entire portal level and not at the site level due to which it's not possible to get an individual signout page for each site.
-
In SAML, when the user clicks logout, Service Provider searches the IdP’s logout service address(http://ipaddress:port/c/portal/saml/slo) from the metadata(http://ipaddress:port/c/portal/saml/metadata) and redirects to same. In case the redirection URL is specified with respect to the site in metadata then logout redirection will always happen to that specified URL.
-
Even if SAML is not enabled, the default logout page can be defined using portal settings. Please refer to the below screenshot.
- Please note: During signing out, the user will be signed out from the entire portal irrespective of sites.
Did this article resolve your issue ?