LOGIN Event giving null user when auto logging in

Hi all,

I have an event listener that listens listens for login events and sends them downstream.

I have noticed that Login Events will give a user=null when someone is logged in, exits the site, then comes back to the site and is auto-logged in.

I am on keycloak 9.0.3. Is this normal behavior? I would expect that the login event should never have a null user.

Thanks in advanced

This looks like a bug. Have you tried that latest 10.0.1?
If it does not work with the latest check if a bug has already been created for it on https://issues.redhat.com/projects/KEYCLOAK/issues and if not create an issue.