Skip to content

Commit

Permalink
fix: 카카오 로그인 토큰 발급 URL 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
olsohee committed Sep 13, 2023
1 parent 6484b42 commit e51f2d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
JwtTokenDto tokenDto = jwtTokenUtils.generateToken(user);

// 파라미터로 토큰을 전달하면서 리다이렉트
String redirectUrl = String.format("http://localhost:8080/login/kakao?access_token=%s&refresh_token=%s",
String redirectUrl = String.format("http://13.209.174.161:8080/login/kakao?access_token=%s&refresh_token=%s",
tokenDto.getAccessToken(), tokenDto.getRefreshToken());
getRedirectStrategy().sendRedirect(request, response, redirectUrl);
}
Expand Down

0 comments on commit e51f2d4

Please sign in to comment.