Skip to content

Commit

Permalink
Merge pull request #67 from kakao-tech-campus-2nd-step3/fix/swagger-p…
Browse files Browse the repository at this point in the history
…ermit-all-설정

[feat] swagger permitAll로 설정
  • Loading branch information
sanghee0820 authored Oct 14, 2024
2 parents ccff3b1 + f37f180 commit 6fa28fa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http)
.requestMatchers("/oauth2/**").permitAll()
.requestMatchers("/admin/**").hasRole("ADMIN")
.requestMatchers("/error").permitAll()
.requestMatchers("swagger-ui/**").permitAll()
.requestMatchers("/v3/api-docs/**").permitAll()
.anyRequest().authenticated())
//cors 설정
.addFilter(corsFilter)
Expand Down

0 comments on commit 6fa28fa

Please sign in to comment.