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

Redirect to requested URL after CAS login / CAS validation

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.0.2 CE GA3, 7.0.X, 7.1.X, Master
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Hi,

      Using CAS the redirection doesn't work after authentication / token validation.

      Steps to reproduce (CAS must have been enabled and configured):

      1- Try to access a private page : https://backoffice.ce-orange.fr/group/guest/testlja
      302 redirect to https://backoffice.ce-orange.fr/c/portal/login?redirect=%2Fgroup%2Fguest%2Ftestlja&refererPlid=37585&p_l_id=20144
      200 redirect to https://cas.ce-orange.fr/CAS/login?service=https%3A%2F%2Fbackoffice.ce-orange.fr%2Fc%2Fportal%2Flogin

      2- Login to CAS using user/password OR token validation if you logon on CAS before accedding to Liferay
      302 redirect to https://backoffice.ce-orange.fr/c/portal/login?ticket=ST-414-pXkyHqOhSPUcHvR90Ymr-cas.ce-orange.fr
      302 redirect to https://backoffice.ce-orange.fr/c
      200 redirect to https://backoffice.ce-orange.fr/group/guest

      Expected result (as it works without CAS) :
      beeing redirected to https://backoffice.ce-orange.fr/group/guest/testlja

      Thanks and regards

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  23 weeks, 2 days ago

                  Packages

                  Version Package