diff --git a/src/main/java/floud/demo/service/AuthService.java b/src/main/java/floud/demo/service/AuthService.java index b32284b..21b997c 100644 --- a/src/main/java/floud/demo/service/AuthService.java +++ b/src/main/java/floud/demo/service/AuthService.java @@ -121,7 +121,7 @@ public RedirectView getGoogleAccessToken(String code) { } String redirectUrl = "http://localhost:3000/redirect"; - redirectUrl += "?access_token=" + id_token + "&refresh_token=" + refreshToken+ "&social_type=1"; + redirectUrl += "?access_token=" + id_token + "&refresh_token=" + refreshToken; // RedirectView를 사용하여 리다이렉션 수행 RedirectView redirectView = new RedirectView(); @@ -183,7 +183,7 @@ public RedirectView getKakaoAccessToken(String code) { saveRefreshToken(userInfo.getUsers_id(),refreshToken); String redirectUrl = "http://localhost:3000/redirect"; - redirectUrl += "?access_token=" + id_token + "&refresh_token=" + refreshToken + "&social_type=2"; + redirectUrl += "?access_token=" + id_token + "&refresh_token=" + refreshToken; // RedirectView를 사용하여 리다이렉션 수행 RedirectView redirectView = new RedirectView();