Skip to content

Commit

Permalink
Merge pull request #6 from Seasoning-Today/fix/#5
Browse files Browse the repository at this point in the history
카카오 로그인 오류 해결
  • Loading branch information
csct3434 authored Jan 14, 2024
2 parents f20c1d0 + b0a1816 commit bed90d6
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 bed90d6

Please sign in to comment.