File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/com/example/Veco/global Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public void onAuthenticationSuccess(
7272 memberCommandService .saveMember (member );
7373
7474 // 로딩 화면으로 리다이렉트
75- redirectURL = UriComponentsBuilder .fromUriString ("https ://web.vecoservice.shop /onboarding/loading" )
75+ redirectURL = UriComponentsBuilder .fromUriString ("http ://localhost:5173 /onboarding/loading" )
7676 .build ()
7777 .encode (StandardCharsets .UTF_8 )
7878 .toUriString ();
Original file line number Diff line number Diff line change @@ -50,21 +50,21 @@ protected SecurityFilterChain configure(HttpSecurity http) throws Exception {
5050 .httpBasic (AbstractHttpConfigurer ::disable )
5151 .formLogin (AbstractHttpConfigurer ::disable )
5252 .addFilterBefore (jwtAuthFilter (), UsernamePasswordAuthenticationFilter .class )
53- .logout (logout -> logout .logoutSuccessUrl ("https ://web.vecoservice.shop /onboarding" ))
53+ .logout (logout -> logout .logoutSuccessUrl ("http ://localhost:5173 /onboarding" ))
5454 .sessionManagement (session -> session
5555 .sessionCreationPolicy (SessionCreationPolicy .STATELESS ))
5656 .oauth2Login (oauth2 -> oauth2
5757 .authorizationEndpoint (config -> config
5858 .authorizationRequestRepository (new HttpSessionOAuth2AuthorizationRequestRepository ())
5959 .authorizationRequestResolver (customAuthorizationRequestResolver )
6060 )
61- .loginPage ("https ://web.vecoservice.shop /onboarding" )
61+ .loginPage ("http ://localhost:5173 /onboarding" )
6262 .successHandler (oAuth2SuccessHandler )
6363 .userInfoEndpoint (userInfo -> userInfo .userService (customOAuth2UserService ))
6464 .failureHandler ((request , response , exception ) -> {
6565 // 로그인 실패 시 처리 로직
6666 log .error ("OAuth2 로그인 실패: {}" , exception .getMessage ());
67- response .sendRedirect ("https ://web.vecoservice.shop /onboarding" );
67+ response .sendRedirect ("http ://localhost:5173 /onboarding" );
6868 })
6969 );
7070 return http .build ();
You can’t perform that action at this time.
0 commit comments