From 8c6031a35896de5ea6972dcd4c1b7f7dfc78b08d Mon Sep 17 00:00:00 2001 From: yeonjy Date: Wed, 20 Mar 2024 15:12:01 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20login=20page=20=EC=A7=81=EC=A0=91?= =?UTF-8?q?=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/rollthedice/backend/global/config/SecurityConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/core/src/main/java/com/rollthedice/backend/global/config/SecurityConfig.java b/backend/core/src/main/java/com/rollthedice/backend/global/config/SecurityConfig.java index a5f5cd65..c006cc78 100644 --- a/backend/core/src/main/java/com/rollthedice/backend/global/config/SecurityConfig.java +++ b/backend/core/src/main/java/com/rollthedice/backend/global/config/SecurityConfig.java @@ -53,6 +53,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { -> authorizeRequests .anyRequest().permitAll()) .oauth2Login(oauth2 -> oauth2 + .loginPage("/login") .successHandler(oAuth2LoginSuccessHandler) .failureHandler(oAuth2LoginFailureHandler) .userInfoEndpoint(userInfo -> userInfo.userService(customOAuth2UserService)) //customUserService 설정