Sign in to app, close browser, open app again after refrsh token lifetime, get signed out automatically. Can this event be caught?
Desired functionality.
I would like to be able to catch event when user is logged out, because i am storing some additional data like tenant in local storage, but i want to have it cleared on signing in again, but because there is no way to catch this event, i am unable to do so), i tried keycloak events in before keycloak-init, but none is triggered in this case
Bug Report or Feature Request (mark with an
x
)Versions.
Repro steps.
Sign in to app, close browser, open app again after refrsh token lifetime, get signed out automatically. Can this event be caught?
Desired functionality.
I would like to be able to catch event when user is logged out, because i am storing some additional data like tenant in local storage, but i want to have it cleared on signing in again, but because there is no way to catch this event, i am unable to do so), i tried keycloak events in before keycloak-init, but none is triggered in this case