for demo purposes, I configued google as idp, and tried logging in. It seems like only the REGISTER, LOGIN, and CODE_TO_TOKEN are captured by the listener. According to the keycloak codebase, the IDENTITY_PROVIDER_FIRST_LOGIN is triggered here: https://github.com/keycloak/keycloak/blob/master/services/src/main/java/org/keycloak/services/resources/LoginActionsService.java#L760
even if this piece of code is called ( I checked by attaching the bebugger), the event it is still not sent to the Listener. I tried also storing login events, same thing. Only the REGISTER, LOGIN, and CODE_TO_TOKEN are stored in the database.
Do you confirm this is bug ? is IDENTITY_PROVIDER_FIRST_LOGIN being overridden by the LOGIN event somewehere ?