Skip to content

Commit 76c413b

Browse files
author
Steve Cody
committed
remove the base path from the jwtrequestFilter
1 parent 4c98e9b commit 76c413b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/od/auth/JwtRequestFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class JwtRequestFilter extends OncePerRequestFilter {
3737
@Override
3838
protected boolean shouldNotFilter(HttpServletRequest request) {
3939
String path = request.getServletPath();
40-
return (path.startsWith("/lti") || path.contains("login"));
40+
return (path.contentEquals("/") || path.startsWith("/lti") || path.contains("login"));
4141
}
4242

4343
@Override

0 commit comments

Comments
 (0)