Skip to content

Commit

Permalink
feat: 추가 멤버 API 중 시큐리티 필터 제외 주소
Browse files Browse the repository at this point in the history
Related to: #248
  • Loading branch information
belljun3395 committed Feb 2, 2024
1 parent 4b9c3b5 commit 2d1483f
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ public WebSecurityCustomizer localWebSecurityFilterIgnoreCustomizer() {
"/openapi3.yaml",
"/reports/**",
"/api/v1/members/check")
.antMatchers(HttpMethod.POST, "/api/v1/members");
.antMatchers(
HttpMethod.POST,
"/api/v1/members",
"/api/v1/members/token",
"/api/v1/members/login");
}

@Bean
Expand All @@ -119,7 +123,11 @@ public WebSecurityCustomizer prodWebSecurityFilterIgnoreCustomizer() {
"/openapi3.yaml",
"/reports/**",
"/api/v1/members/check")
.antMatchers(HttpMethod.POST, "/api/v1/members");
.antMatchers(
HttpMethod.POST,
"/api/v1/members",
"/api/v1/members/token",
"/api/v1/members/login");
}

@Bean
Expand Down

0 comments on commit 2d1483f

Please sign in to comment.