Enabling both Liferay's default login and SAML login so that users can use either option
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
Issue
- I would like to configure and enable SAML login while also having Liferay's default login available to users so that they can have two options for logging in.
Environment
- DXP 7.4+
- Quarterly Release
Resolution
- This is the expected behavior for now. Liferay will abdicate to SAML every time if available, giving users who have SAML no option to use Liferay's default login.
- The workaround is to have a "hidden" page (not included in nav) that includes a login portlet. This will ignore the SAML option and allow for a direct login through Liferay.
- However, there is a feature request, LPD-27647, open that will allow users to select the authentication method even when SAML is configured.
did-this-article-resolve-your-issue