diff --git a/src/main/java/shop/hooking/hooking/global/jwt/OAuth2SuccessHandler.java b/src/main/java/shop/hooking/hooking/global/jwt/OAuth2SuccessHandler.java index 922239b..ee85787 100644 --- a/src/main/java/shop/hooking/hooking/global/jwt/OAuth2SuccessHandler.java +++ b/src/main/java/shop/hooking/hooking/global/jwt/OAuth2SuccessHandler.java @@ -86,11 +86,8 @@ private void writeTokenResponse(HttpServletRequest request, HttpServletResponse refreshTokenCookie.setPath("/"); response.addCookie(refreshTokenCookie); - targetUrl = UriComponentsBuilder.fromUriString(targetUrl) - .build().toUriString(); - log.info("타켓URl, 쿠키정보: " + targetUrl, accessTokenCookie, refreshTokenCookie); - getRedirectStrategy().sendRedirect(request,response, targetUrl); + getRedirectStrategy().sendRedirect(request, response, targetUrl); } }