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

SAML receiving "Status Unable to process SAML request" on login cancellation

    Details

      Description

      Description
      The SAML portlet mainly handles SAML responses with the status code: urn:oasis:names:tc:SAML:2.0:status:Success
      Normally, the Identity Provider would provide back a SAML response to the Service Provider only when the user successfully logs in.
      But, there may be some Identity Providers that may allow a user to 'cancel' their login and expect the Service Provider to handle this case.

      The SAML response with the status code: urn:oasis:names:tc:SAML:2.0:status:Responder is passed when a user chooses to 'cancel' their login.
      Currently, the SAML portlet returns an error message: "Status Unable to process SAML request" when this response is passed to the Service Provider.

      Steps to Reproduce

      1. Setup liferay as both IDP and SP using the steps listed here: https://support-kb.liferay.com/web/knowledge/knowledge-base/-/knowledge_base/article/48803
      2. Deploy affected SAML portlet to the IDP to emulate a 'cancel' action from IDP during login. (See linked LPP Ticket)
      3. Restart both IDP and SP Bundles
      4. Try to log in with IDP-initiated SSO

      Actual Result: SAML portlet returns an error message: "Status Unable to process SAML request"

      Expected Result: SAML Portlet redirects the user back to the initial page that linked the user to the SSO page.

        Attachments

          Activity

            People

            Assignee:
            ian.song Ian Song (Inactive)
            Reporter:
            eric.yan Eric Yan
            Participants of an Issue:
            Recent user:
            Sivakumar Perumal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 41 weeks, 1 day ago

                Packages

                Version Package
                6.1.X EE
                6.2.X EE
                7.0.0 Beta 1