Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-10209

Make AuthenticationSessionModel available in EventListenerProvider SPI

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.2
    • Component/s: None
    • Labels:
      None

      Description

      Keycloak Events are great tool to implement distinct KC extensions. Very useful for cases like custom business metrics/analytics implementation etc. Unfortunately current EventListenerProvider SPI has major limitation for these use cases. Problem is that AuthenticationSessionModel is not available in onEvent(Event event) method (for events fired in the scope of any AuthenticationSession naturally). So it is not possible to access info from client auth request, info set by authenticators etc.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                velias Vlastimil Eliáš
                Reporter:
                velias Vlastimil Eliáš
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: