From 38d6ee527981dcf746b4e71f9ec3698f3f52a315 Mon Sep 17 00:00:00 2001 From: Jiwon Date: Sun, 4 Feb 2024 16:16:21 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20referer=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hooking/hooking/global/jwt/OAuth2SuccessHandler.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); } }