From 4bfd92e0562f0d8ec807559284ec559f31d5545e Mon Sep 17 00:00:00 2001 From: "sungjin.choi" Date: Thu, 16 Jul 2026 15:53:36 +0900 Subject: [PATCH] =?UTF-8?q?feat=20-=20=EC=9D=B8=EA=B0=80=20url=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/company/specialsource/config/SecurityConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/company/specialsource/config/SecurityConfig.java b/src/main/java/company/specialsource/config/SecurityConfig.java index f07efe9..3f59457 100644 --- a/src/main/java/company/specialsource/config/SecurityConfig.java +++ b/src/main/java/company/specialsource/config/SecurityConfig.java @@ -17,13 +17,13 @@ public class SecurityConfig { http .csrf(csrf -> csrf.disable()) // REST API 통신을 위해 CSRF 비활성화 .authorizeHttpRequests(auth -> auth - .requestMatchers("/api/login").permitAll() // 로그인 API는 누구나 접근 가능 + // 로그인 API 및 파일 동기화 업로드 API는 인증 없이 누구나 접근 가능하도록 허용 + .requestMatchers("/api/login", "/api/sync/upload").permitAll() .anyRequest().authenticated() ); return http.build(); } - @Bean public PasswordEncoder passwordEncoder() { return new BCryptPasswordEncoder(); // BCrypt 암호화 알고리즘 사용