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 설정