mirror of https://github.com/jacekkow/keycloak-protocol-cas

Jacek Kowalski
8 days ago 29db863fcc9683b82cfdd9a50a55fe21dc982008
src/main/java/org/keycloak/protocol/cas/endpoints/LogoutEndpoint.java
@@ -23,7 +23,6 @@
    private KeycloakSession session;
    private RealmModel realm;
    private ClientModel client;
    private String redirectUri;
    public LogoutEndpoint(KeycloakSession session, RealmModel realm) {
@@ -64,7 +63,7 @@
            return;
        }
        client = realm.getClientsStream()
        ClientModel client = realm.getClientsStream()
                .filter(c -> CASLoginProtocol.LOGIN_PROTOCOL.equals(c.getProtocol()))
                .filter(c -> RedirectUtils.verifyRedirectUri(session, service, c) != null)
                .findFirst().orElse(null);