Skip to content

Commit 3f153a7

Browse files
committed
CLAP-324 Feat: 토큰 재발급 엔드포인트에 대해 액세스 토큰 검증을 하지 않도록 수정
<footer> - 관련: #413
1 parent 3981c5d commit 3f153a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/clap/server/adapter/inbound/security/filter/JwtAuthenticationFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ protected void doFilterInternal(
7777
private boolean isAnonymousRequest(HttpServletRequest request) {
7878
String requestUri = request.getRequestURI();
7979
boolean isAnonymousURI = Arrays.stream(ANONYMOUS_ENDPOINTS)
80-
.anyMatch(endpoint -> new AntPathMatcher().match(endpoint, request.getRequestURI()));
80+
.anyMatch(endpoint -> new AntPathMatcher().match(endpoint, requestUri));
8181
boolean isAnonymous = request.getHeader(HttpHeaders.AUTHORIZATION) == null;
82-
return (isAnonymousURI && isAnonymous) || requestUri==REISSUANCE_ENDPOINT;
82+
return (isAnonymousURI && isAnonymous) || requestUri.equals(REISSUANCE_ENDPOINT);
8383
}
8484

8585
@Override

0 commit comments

Comments
 (0)