Skip to content

Commit

Permalink
✨ FEAT. webhook 요청 보안 해제
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaa committed May 7, 2024
1 parent 393d46d commit 04f35d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.sessionManagement(session -> session.sessionCreationPolicy(
SessionCreationPolicy.STATELESS)) // Token 기반 인증 => session 사용 X
.authorizeHttpRequests((requests) -> requests
.requestMatchers("/login", "/api/user/signup").permitAll() // 허용된 주소
.requestMatchers("/login", "/api/user/signup", "/faceSwap/webhook").permitAll() // 허용된 주소
.anyRequest().authenticated()
)
// CORS
Expand Down

0 comments on commit 04f35d8

Please sign in to comment.