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

SAML logout redirects to blank page instead of welcome page

    Details

    • Fix Priority:
      4

      Description

      SAML logout redirects to blank page instead of welcome page

      Steps taken:
      IdP Setup
      1. Start Liferay.
      2. Deploy the SAML plugin.
      3. Go to > Control Panel > SAML Admin
      4. Name: samlidp; entityId: samlidp
      5. Generate certificate.
      6. Enable samlidp
      7. Click Add Service Provider
      8. Enter the following:
      a) Name: Liferay SP
      b) Entity ID: samlsp
      c) Enabled: flagged
      d) Metadata URL: http://

      {IP Address}

      :

      {port}

      /c/portal/saml/metadata
      e) Name Identifier Format: Email address
      f) Name Identifier Attribute: emailAdress
      g) Attributes Enabled: flagged
      h) Attributes Namespace: flagged
      i) Attribute Mapping:

      • emailAddress
      • screenName
      • firstName
      • lastName
        9. Click Save

      SP Setup
      1. Start Liferay.
      2. Deploy the SAML plugin
      3. Go to > Control Panel > SAML Admin
      4. Name: samlsp; entityId = samlsp
      5. Generate certificate
      6. Click the Identity Provider Connection tab
      a) Name: samlidp
      b) Entity ID: samlidp
      c) Enabled: flagged
      d) Metadata URL: http://[IP Address]:[port]/c/portal/saml/metadata
      e) Name Identifier Format: Email Address
      f) Attribute Mapping:

      • emailAddress=urn:liferay:user:emailAddress
      • screenName=urn:liferay:user:screenName
      • firstName=urn:liferay:user:firstName
      • lastName=urn:liferay:user:lastName
        7. Click Save

      1. In the IdP, connect to the SP. (e.g. http://192.168.194.123/c/portal/saml/sso?entityId=samlsp)
      2. Initiate SLO. There is a small window that shows the logout process
      3. The URL says: http://192.168.194.123/c/portal/slo_logout (or something to that effect) and stays there.
      4. META-INF/custom_jsps/html/portal/saml/slo.js is not rendered.

      Expected result:
      SLO completion and redirection to welcome page.

      Actual results:
      Page hangs.

        Attachments

          Activity

            People

            Assignee:
            mika.koivisto Mika Koivisto
            Reporter:
            justin.choi Justin Choi (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 13 weeks, 3 days ago

                Packages

                Version Package
                6.1.30 EE GA3
                6.2.0 CE RC1