Skip to content

Commit

Permalink
🐛 Fix : 토큰 관련 spring security 설정 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
CYY1007 committed Feb 16, 2024
1 parent 0f9bfe4 commit 31a74d6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public WebSecurityCustomizer webSecurityCustomizer() {
"/schedule",
"/v3/api-docs",
"/v3/api-docs/**",
"/docs/**","/fcms/**",
"/docs/**","/fcms/**","/members/auth/**",
"/briefings/temp");
}

Expand Down Expand Up @@ -138,6 +138,7 @@ public SecurityFilterChain JwtFilterChain(HttpSecurity http) throws Exception {
.authenticated();
authorize.requestMatchers("/v2/scraps/**").authenticated();
authorize.requestMatchers("/scraps/**").authenticated();
authorize.requestMatchers("/members/auth/token").permitAll();
authorize.anyRequest().authenticated();
})
.exceptionHandling(
Expand Down

0 comments on commit 31a74d6

Please sign in to comment.