KEYCLOAK-5856 Fix infinite loop

This commit is contained in:
stianst authored and Stian Thorgersen committed 2017-11-28 07:54:49 +01:00
1 parent 24b7e318ca
commit 36314c51d6
1 file changed
+2 -2
@@ -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);
}