How to catch ExpiredJwtException in Spring OncePerRequestFilter
In this post, you will see how to catch ExpiredJwtException in OncePerRequestFilter class and send a meaningful error message from a Spring Boot app . Background I came across this issue after I implemented JWT authentication in the file-sharing-app. As Read more…