Skip to content

Commit

Permalink
fix: 카카오 로그인 오류 해결
Browse files Browse the repository at this point in the history
- 변경된 로그인 엔드포인트에 맞춰 JwtFilter의 shouldNotFilter()를 수정
  • Loading branch information
csct3434 committed Jan 14, 2024
1 parent f20c1d0 commit b0a1816
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ private UserPrincipal createPrincipal(String token) {
@Override
protected boolean shouldNotFilter(HttpServletRequest request) {
List<String> allowedPaths = Arrays.asList(
"/oauth/kakao/login",
"/oauth/login",
"/favicon.ico",
"/refresh");

String path = request.getRequestURI();

return allowedPaths.stream().anyMatch(path::equals);
return allowedPaths.stream().anyMatch(path::startsWith);
}
}

0 comments on commit b0a1816

Please sign in to comment.