Skip to content

Commit

Permalink
hotfix: 사용자 인증이 필요없는 url 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlrude committed Oct 29, 2023
1 parent 8070f25 commit 54efdc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
.and()
.authorizeRequests()
.antMatchers("/api/v1/users/join", "/api/v1/users/login", "/api/v1/users/duplicated/**",
"/api/v1/books/search").permitAll() // 회원가입, 로그인, 검색 API는 인증 없이 허용
"/api/v1/books/search", "/api/v1/books/like", "/api/v1/books/new").permitAll() // 회원가입, 로그인, 검색 API는 인증 없이 허용
.antMatchers("/swagger-ui/**", "/swagger-resources/**", "/v3/api-docs").permitAll()
.anyRequest().authenticated()
.and()
Expand Down

0 comments on commit 54efdc2

Please sign in to comment.