Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-98456

Login with Private Page virtual host URL will redirect to Public Page if clicking the Sign In button

    Details

    • Fix Priority:
      3

      Description

      Steps to Reproduce:

      1. Start portal with saml-hook.war deployed
      2. Go to Site Settings and edit Public Pages URL to "www.baker.com".
      3. Go to Site Settings and edit Private Pages URL to "www.charlie.com".
      4. Add a public page called Public page.
      5. Add a private page called Private page.
      6. Visit http://www.charlie.com:8080/group/guest.
      7. Click Sign In button at the up right corner.
      8. Type user email and password then click Sign In button below.

      Expected Results:
      Page should redirect to private page.

      Actual Results:
      Page redirects to the public page.

      Note:

      1. After step5, the URL is:
        http://www.charlie.com:8080/web/guest/home?p_p_state=maximized&p_p_mode=view&refererPlid=24&saveLastPath=false&_com_liferay_login_web_portlet_LoginPortlet_mvcRenderCommandName=%2Flogin%2Flogin&p_p_id=com_liferay_login_web_portlet_LoginPortlet&p_p_lifecycle=0&_com_liferay_login_web_portlet_LoginPortlet_redirect=%2Fgroup%2Fguest
        
      2. After step6, clicking Sign In button changes the URL to:
        http://www.charlie.com:8080/web/guest/home?p_p_id=com_liferay_login_web_portlet_LoginPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=false&_com_liferay_login_web_portlet_LoginPortlet_mvcRenderCommandName=%2Flogin%2Flogin
        
      3. This issue only occurs when deploy saml-hook.war, removing it can fix this.
        Without saml-hook, there a pop-up window after clicking Sign In.

      Reproduced on:
      Tomcat 9.0.17 + MySQL 5.7. Portal master-private GIT ID: 5f4921dede08024b7c4f8f35b652458736827076.
      Tomcat 9.0.17 + MySQL 5.7. Portal 7.2.x-private GIT ID: 01801c013a2683f5783dc0c46b0980d94b37989e.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              summer.zhang Summer Zhang
              Participants of an Issue:
              Recent user:
              Stian Sigvartsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                20 weeks, 5 days ago

                  Packages

                  Version Package