Skip to content

Commit

Permalink
[YS-209] hotfix: 실험 공고 참여 방법 조회 API 호출 시, 인증 생략하도록 수정 (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ji-soo708 authored Jan 25, 2025
1 parent 06e133e commit f5d53fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class WebSecurityConfig {
): SecurityFilterChain = httpSecurity
.securityMatcher("/v1/auth/**",
"/v1/members/signup/**", "/v1/emails/**",
"/v1/experiment-posts/counts", "/v1/experiment-posts/search")
"/v1/experiment-posts/counts", "/v1/experiment-posts/search", "/v1/experiment-posts/{postId}/apply-method")
.csrf { it.disable() }
.cors(Customizer.withDefaults())
.sessionManagement {
Expand All @@ -42,7 +42,7 @@ class WebSecurityConfig {
it.requestMatchers(
"/v1/auth/**",
"/v1/members/signup/**", "/v1/emails/**",
"/v1/experiment-posts/counts", "/v1/experiment-posts/search"
"/v1/experiment-posts/counts", "/v1/experiment-posts/search", "/v1/experiment-posts/{postId}/apply-method"
).permitAll()
it.anyRequest().authenticated()
}
Expand Down

0 comments on commit f5d53fd

Please sign in to comment.