diff --git a/src/main/java/com/example/bigbrotherbe/global/security/SecurityConfig.java b/src/main/java/com/example/bigbrotherbe/global/security/SecurityConfig.java index 000ca96..301adda 100644 --- a/src/main/java/com/example/bigbrotherbe/global/security/SecurityConfig.java +++ b/src/main/java/com/example/bigbrotherbe/global/security/SecurityConfig.java @@ -50,7 +50,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti .requestMatchers(SERVER+"/members/manager").hasRole("ADMIN") .requestMatchers(SERVER+"members/information").hasAnyRole("ADMIN","USER") // 이 밖에 모든 요청에 대해서 인증을 필요로 한다는 설정 - .anyRequest().authenticated() + .anyRequest().permitAll() ) // JWT 인증을 위하여 직접 구현한 필터를 UsernamePasswordAuthenticationFilter 전에 실행 .addFilterBefore(new JwtAuthenticationFilter(jwtTokenProvider),