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

github-actions
2022-11-08 484580df99550c5dbb6c60262aaaa8ca18763b63
src/main/java/org/keycloak/protocol/cas/endpoints/LogoutEndpoint.java
@@ -70,12 +70,12 @@
            return;
        }
        client = realm.getClients().stream()
        client = realm.getClientsStream()
                .filter(c -> CASLoginProtocol.LOGIN_PROTOCOL.equals(c.getProtocol()))
                .filter(c -> RedirectUtils.verifyRedirectUri(session.getContext().getUri(), service, realm, c) != null)
                .filter(c -> RedirectUtils.verifyRedirectUri(session, service, c) != null)
                .findFirst().orElse(null);
        if (client != null) {
            redirectUri = RedirectUtils.verifyRedirectUri(session.getContext().getUri(), service, realm, client);
            redirectUri = RedirectUtils.verifyRedirectUri(session, service, client);
            session.getContext().setClient(client);
        }