We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c08b5b7 commit d8f757eCopy full SHA for d8f757e
src/main/java/clap/server/adapter/inbound/security/filter/JwtAuthenticationFilter.java
@@ -49,13 +49,10 @@ protected void doFilterInternal(
49
@NotNull FilterChain filterChain
50
) throws ServletException, IOException {
51
try {
52
- if (Arrays.asList(PUBLIC_ENDPOINTS).contains(request.getRequestURI())) {
+ if (isAnonymousRequest(request)) {
53
filterChain.doFilter(request, response);
54
return;
55
}
56
- if (isAnonymousRequest(request)) {
57
- throw new AuthException(AuthErrorCode.UNAUTHORIZED);
58
- }
59
60
String accessToken = resolveAccessToken(request);
61
0 commit comments