diff --git a/backend/src/main/java/com/ai/lawyer/global/security/SecurityConfig.java b/backend/src/main/java/com/ai/lawyer/global/security/SecurityConfig.java index 5b79a688..cf7af27e 100644 --- a/backend/src/main/java/com/ai/lawyer/global/security/SecurityConfig.java +++ b/backend/src/main/java/com/ai/lawyer/global/security/SecurityConfig.java @@ -47,6 +47,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti .requestMatchers("/api/law/**").permitAll() .requestMatchers("/api/law-word/**").permitAll() .requestMatchers("/h2-console/**").permitAll() + .requestMatchers("/api/chat/**").authenticated() .anyRequest().authenticated() ) // JWT 필터 추가