From 91992cba7da26a5f292420201350c6992c6bbc36 Mon Sep 17 00:00:00 2001 From: yechan-kim <60172300+yechan-kim@users.noreply.github.com> Date: Sun, 17 Nov 2024 17:15:34 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B5=AC=ED=98=84=ED=95=9C=20api=20?= =?UTF-8?q?=EA=B6=8C=ED=95=9C=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 개발의 편의성을 위해 기본값을 `permitAll`로 수정 --- .../java/com/dpbr/dpbrbe/global/config/SecurityConfig.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/dpbr/dpbrbe/global/config/SecurityConfig.java b/src/main/java/com/dpbr/dpbrbe/global/config/SecurityConfig.java index 19a3985..e5c6be0 100644 --- a/src/main/java/com/dpbr/dpbrbe/global/config/SecurityConfig.java +++ b/src/main/java/com/dpbr/dpbrbe/global/config/SecurityConfig.java @@ -51,7 +51,9 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { authorize .requestMatchers("/v3/api-docs/**", "/swagger-ui/**").permitAll() // API 명세서 .requestMatchers("/login/**").permitAll() // 구글 로그인 - .anyRequest().authenticated() + .requestMatchers("/v1/user/**").permitAll() // 사용자 + .requestMatchers("/v1/character/**").permitAll() // 캐릭터 + .anyRequest().permitAll() ); http