Skip to content

Commit

Permalink
Merge pull request #31 from jwpark1211/develop
Browse files Browse the repository at this point in the history
fix : authenticated api(swagger)
  • Loading branch information
jwpark1211 authored May 24, 2024
2 parents f6beb0c + f1ade7b commit 8000a63
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 @@ -43,7 +43,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
antMatcher("/members/test"),
antMatcher("/members/login"),
antMatcher("/members/new"),
antMatcher("/members/email/**")).permitAll()
antMatcher("/members/email/**"),
antMatcher("/swagger-ui/index.html")).permitAll()
//.requestMatchers(antMatcher("")).authenticated()
.anyRequest().authenticated())
.formLogin(AbstractHttpConfigurer::disable)
Expand Down

0 comments on commit 8000a63

Please sign in to comment.