KEYCLOAK-5856 Fix infinite loop

This commit is contained in:
stianst 2017-11-27 19:56:58 +01:00 committed by Stian Thorgersen
parent 24b7e318ca
commit 36314c51d6

View file

@ -1058,9 +1058,9 @@ public class IdentityBrokerService implements IdentityProvider.AuthenticationCal
}
private Response redirectToErrorPage(AuthenticationSessionModel authSession,String message, Object ... parameters) {
return redirectToErrorPage(authSession, message, null, parameters);
return redirectToErrorPage(authSession, Response.Status.INTERNAL_SERVER_ERROR, message, null, parameters);
}
private Response redirectToErrorPage(Response.Status status, String message, Object ... parameters) {
return redirectToErrorPage(null, status, message, null, parameters);
}