Some demo event listeners for Keycloak.
Allowing only the last session to survive, if a user logs in on multiple browsers/devices.
I call it the Highlander mode - there must only be one!
Simply pushing all events to an AWS SNS topic.
Save the last (most recent) login time in an attribute of the user.