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

github-actions
2025-09-13 b9125b2bf3338012390ba4af8dd8c7e1655a8827
src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java
@@ -120,7 +120,7 @@
    }
    @Override
    public Response sendError(AuthenticationSessionModel authSession, Error error) {
    public Response sendError(AuthenticationSessionModel authSession, Error error, String errorMessage) {
        if (authSession.getClientNotes().containsKey(CASLoginProtocol.GATEWAY_PARAM)) {
            if (error == Error.PASSIVE_INTERACTION_REQUIRED || error == Error.PASSIVE_LOGIN_REQUIRED) {
                return Response.status(302).location(URI.create(authSession.getRedirectUri())).build();