From 09796453282e33f2ef6a9ce84acd6ea86cc9870b Mon Sep 17 00:00:00 2001 From: sieunnnn Date: Sat, 11 Nov 2023 15:33:46 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20Redirect=20url=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/auth/oauth/CustomAuthenticationSuccessHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/travelplanner/v2/domain/auth/oauth/CustomAuthenticationSuccessHandler.java b/src/main/java/com/travelplanner/v2/domain/auth/oauth/CustomAuthenticationSuccessHandler.java index 67c091e..f100ac2 100644 --- a/src/main/java/com/travelplanner/v2/domain/auth/oauth/CustomAuthenticationSuccessHandler.java +++ b/src/main/java/com/travelplanner/v2/domain/auth/oauth/CustomAuthenticationSuccessHandler.java @@ -31,7 +31,7 @@ public class CustomAuthenticationSuccessHandler extends SimpleUrlAuthenticationS @Override public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException { - String frontendRedirectUrl = "http://localhost:5173/feed"; // feed 화면으로 + String frontendRedirectUrl = "http://localhost:5173/oauth/callback"; CustomOAuth2User customOAuth2User = (CustomOAuth2User) authentication.getPrincipal(); String provider = customOAuth2User.getUser().getProvider(); String email = null;