diff --git a/src/main/java/com/pyro/yolog/global/oauth2/handler/OAuth2LoginSuccessHandler.java b/src/main/java/com/pyro/yolog/global/oauth2/handler/OAuth2LoginSuccessHandler.java index 4ecd494..04b8397 100644 --- a/src/main/java/com/pyro/yolog/global/oauth2/handler/OAuth2LoginSuccessHandler.java +++ b/src/main/java/com/pyro/yolog/global/oauth2/handler/OAuth2LoginSuccessHandler.java @@ -28,7 +28,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo if(oAuth2User.getRole() == Role.GUEST) { String accessToken = jwtService.createAccessToken(oAuth2User.getEmail()); response.addHeader(jwtService.getAccessHeader(), "Bearer " + accessToken); - response.sendRedirect("https://yolog.store/api/social-login?exist=false&Authorization=" + accessToken); + response.sendRedirect("https://yolog.store/social-login?exist=false&Authorization=" + accessToken); jwtService.sendAccessAndRefreshToken(response, accessToken, null); } else {