Event Listener SPI

Hello,

I’m implementing an Event Listener SPI, which will store some specific Events into an another system. On the Login event type, when user grants a consent to a specific client, I want to make that scope id visible in the event, but in the event detail tab there’s no any. How can I get this information?

also, when I’m enabling Grant_Consent event type, keycloak does not log that kind of events, when users grants the consent on a login.

thanks in advnace,