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

Nithe14
2 days ago 7bc48f59e745e5e6098fdde7d838feeb4d93f2a8
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();