Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-3331

Recommendation Client sends login notification even if user logged via API (REST / GraphQL)

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • 3.2.4
    • 3.2.0
    • eZ Recommendation

    Description

      Steps to reproduce:

      1. Configure Recommendation
      2. Login to Ibexa DXP using REST (session auth or JWT)

      Result:
      For JWT you can observe that a new session is started (which should not happen)

      The issue is caused by this listener: https://github.com/ezsystems/ezrecommendation-client/blob/master/src/lib/Event/Listener/LoginListener.php#L72

      Possible solution:
      The scope of the mentioned listener should be limited to form login and front-end SiteAccesses login only.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kamil.madejski@ibexa.co Kamil Madejski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: