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

Links are not redirected properly after Open SSO sign in

    Details

      Description

      Reproduced in Trunk and 6.0.x rev. 128632

      Steps to reproduce:
      1. Set up Liferay with Open SSO
      2. Add Asset Publisher to a page.
      3. Through Asset Publisher add new Web Content.
      4. After publishing, click Read More on Asset Publisher.
      5. Copy the URL in the broswer.
      6. Paste the URL in an e-mail and send.
      7. Click the URL.

      Results
      1. If a user is already logged in, the URL will take the user to the full web content like the link below.
      http://localhost:8080/web/guest/2/-/asset_publisher/6vmO/content/webcontent1?redirect=http%3A%2F%2Flocalhost%3A8080%2Fweb%2Fguest%2F2%3Fp_p_id%3D101_INSTANCE_6vmO%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-1%26p_p_col_count%3D1

      2. If a user is not logged in, they are prompted to sign in through Open SSO. They are then redirected to the page housing the Asset Publihser, and not the full web content.
      The link changes to this.
      http://localhost:8080/web/guest/2?p_p_id=101_INSTANCE_6vmO&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1

      The redirect works properly when Liferay is not set up with Open SSO. However, after Open SSO set up, the links change after sign in.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 51 weeks, 2 days ago

                  Packages

                  Version Package
                  6.0.X EE
                  6.1.2 CE GA3
                  6.1.30 EE GA3
                  6.2.0 CE M3