If you rotate the private/public keys of a Renarde application then when you visit directly the login page it causes an Internal Server Error by RenardeSecurity#makeRedirectToLogin.
if (request.uri().equals(config.getLoginPage())) {
// this would cause a redirect loop, not sure how to handle, but not by redirecting
log.errorf("Redirect loop at %s, giving up on clearing bad JWT cookie", config.getLoginPage());
return Response.serverError().build();
}
If you rotate the private/public keys of a Renarde application then when you visit directly the login page it causes an Internal Server Error by
RenardeSecurity#makeRedirectToLogin
.