Skip to content

Commit 3d4183a

Browse files
authored
Merge pull request #70 from project-lyrics/SCRUM-202
[SCRUM-202] fix: 중복로그인 검사 필터 제외 url 추가
2 parents 7ed3531 + 354985a commit 3d4183a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/main/java/com/projectlyrics/server/domain/auth/authentication/interceptor/DeviceIdInterceptor.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ private boolean isExcluded(HttpServletRequest request) {
4444
requestURI.equals("/api/v1/artists/search") ||
4545
requestURI.equals("/api/v1/notes/artists") ||
4646
requestURI.equals("/api/v1/notes/songs") ||
47-
requestURI.matches("/api/v1/songs/.*"));
47+
requestURI.matches("/api/v1/songs/.*") ||
48+
(requestURI.matches("/api/v1/events") && requestMethod.equalsIgnoreCase(HttpMethod.GET.name()))||
49+
requestURI.matches("/api/v1/events/refuse") ||
50+
(requestURI.matches("/api/v1/banners") && requestMethod.equalsIgnoreCase(HttpMethod.GET.name())));
4851
}
4952

5053
private boolean hasNoAuth() {

0 commit comments

Comments
 (0)