zeroflag commented on code in PR #839: URL: https://github.com/apache/knox/pull/839#discussion_r1476472672
########## gateway-provider-security-jwt/src/main/java/org/apache/knox/gateway/provider/federation/jwt/filter/SSOCookieFederationFilter.java: ########## @@ -197,7 +204,7 @@ private void sendRedirectToLoginURL(HttpServletRequest request, HttpServletRespo @Override protected void handleValidationError(HttpServletRequest request, HttpServletResponse response, int status, String error) throws IOException { - if (error != null && error.startsWith("Token") && error.endsWith("disabled")) { + if (error != null && error.startsWith("Token") && (error.endsWith("disabled") || error.endsWith("exceeded idle timeout"))) { Review Comment: @smolnar82 yes, LGTM -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org