Token and Session expiration events

I would like to trigger some event on token or session expired but I could not find any event on token or session expired however I can get event on direct user-initiated logout. For example token/session time out is 20 minutes, so if session if ideal for 20 minutes then Keycloak to trigger event on token/session expired if a event listener registered
Please suggest you can get event on token/session expired


I have the exact same problem. Were you able to solve it?