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

Gabriel Landais
2022-04-22 d5f868839f07638596a8da48d5b42c083108b121
src/main/java/org/keycloak/protocol/cas/endpoints/LogoutEndpoint.java
@@ -72,10 +72,10 @@
        client = realm.getClients().stream()
                .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);
        }