Skip to content

Commit

Permalink
Merge pull request #18 from Hooking-CEOS/jiwon
Browse files Browse the repository at this point in the history
[fix] referer 변경
  • Loading branch information
JiwonKim08 authored Feb 4, 2024
2 parents 698f6dd + cda3e3e commit 4f00f6d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,11 @@ private void writeTokenResponse(HttpServletRequest request, HttpServletResponse
refreshTokenCookie.setPath("/");
response.addCookie(refreshTokenCookie);

// targetUrl = UriComponentsBuilder.fromUriString(targetUrl)
// .build().toUriString();
response.sendRedirect(targetUrl);
log.info("타켓URl, 쿠키정보: " + targetUrl, accessTokenCookie, refreshTokenCookie);
getRedirectStrategy().sendRedirect(request, response, targetUrl);
// getRedirectStrategy().sendRedirect(request,response, targetUrl);
}

}
Expand Down

0 comments on commit 4f00f6d

Please sign in to comment.