Skip to content
Snippets Groups Projects
Commit 031ddebd authored by François Agneray's avatar François Agneray
Browse files

KeycloakEventType = OnAuthLogout => force logout

parent 834975fc
No related branches found
No related tags found
1 merge request!29Develop
Pipeline #6375 passed
Pipeline: anis-next

#6376

    ......@@ -21,6 +21,9 @@ export function initializeKeycloak(keycloak: KeycloakService, store: Store<{ }>,
    }
    from(keycloak.keycloakEvents$).subscribe(event => {
    if (event.type === KeycloakEventType.OnAuthLogout) {
    store.dispatch(keycloakActions.logout());
    }
    if (event.type === KeycloakEventType.OnAuthSuccess) {
    store.dispatch(keycloakActions.authSuccess());
    }
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment