Skip to content

Commit

Permalink
Merge pull request #32 from jwpark1211/develop
Browse files Browse the repository at this point in the history
fix : authenticated api(swagger) 2..
  • Loading branch information
jwpark1211 authored May 24, 2024
2 parents 8000a63 + d4db75d commit 5003a9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/capstone/bookitty/common/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
antMatcher("/members/login"),
antMatcher("/members/new"),
antMatcher("/members/email/**"),
antMatcher("/swagger-ui/index.html")).permitAll()
antMatcher("/swagger-ui/**"),
antMatcher("/v3/**")).permitAll()
//.requestMatchers(antMatcher("")).authenticated()
.anyRequest().authenticated())
.formLogin(AbstractHttpConfigurer::disable)
Expand Down

0 comments on commit 5003a9e

Please sign in to comment.