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

No SamlSpSession exists with the key error during sign out from SP site

    Details

      Description

      Summary
      Triggering logout from Service Provider site now cause the following error in tomcat console:

      2021-06-01 14:43:37.535 DEBUG [http-nio-8080-exec-4][SamlSpSessionPersistenceImpl:639] No SamlSpSession exists with the key {jSessionId=300EA35EC5A205CB9CD0FCF5E0DFA414}
      2021-06-01 14:43:37.536 DEBUG [http-nio-8080-exec-4][SamlSpSessionDestroyAction:103] com.liferay.saml.persistence.exception.NoSuchSpSessionException: No SamlSpSession exists with the key {jSessionId=300EA35EC5A205CB9CD0FCF5E0DFA414}
      com.liferay.saml.persistence.exception.NoSuchSpSessionException: No SamlSpSession exists with the key {jSessionId=300EA35EC5A205CB9CD0FCF5E0DFA414}
      

      Reproduction steps

      1. Execute SAML setup following the QA documentation: 7.4-SAML-S1-4
      2. Login to IdP
      3. Set Log levels for all component with saml in it's name to DEBUG level
      4. Add a new End User as: [email protected] / test
      5. Verify the new End User's email address
      6. Logout from IdP
      7. Navigate to SP site
      8. Login with new End user: [email protected] / test
      9. After a successful login, press Sign out

      Actual results
      After sign-out is triggered, the following error is present in the tomcat console.

      Expected results
      No error should be present during a successful sign-out

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              gabor.lovas Gábor Lovas
              Participants of an Issue:
              Recent user:
              Rafaela Nascimento
              Engineering Assignee:
              Stian Sigvartsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                14 weeks, 2 days ago

                  Packages

                  Version Package
                  7.4.1 CE GA2 DXP 7,4
                  7.4.2 CE GA3 DXP 7,4
                  Master