8000 what triggers an event : public void onEvent(Event event) : is the LOGOUT fired when token expire? browser closed? session timeout? · keycloak keycloak · Discussion #48405 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

onEvent(Event) is called for every user event Keycloak fires, on each listener that is enabled for the realm (Realm settings > Events > Event listeners) or whose factory is global. The "Saved types" setting only controls what goes into the event store; listeners receive every event. Failed attempts arrive with an _ERROR suffix (for example LOGIN_ERROR). Realm and admin changes are delivered to onEvent(AdminEvent, boolean) instead.

LOGOUT is fired when a logout is actually processed: OIDC logout (RP-initiated, or with a refresh token), back-channel logout, SAML logout, signing a session out from the Account Console, or the session-limit authenticator evicting a session.

It is not fired for:

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by spictera
Comment options

You must be logged in to vote
1 reply
@zuhairhalawa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0