Skip to content

Commit

Permalink
카카오 로그인 로컬테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
hysong4u committed Feb 15, 2024
1 parent fc6a853 commit 43af3d0
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ public KakaoUserInfoResponseDto kakaoCallback(String code, String environment) {
params.add("grant_type", "authorization_code");
params.add("client_id", clientId);
params.add("redirect_uri", redirectUri);
if ("production".equals(environment)) {
params.add("redirect_uri", redirectUri);
} else {
params.add("redirect_uri", "http://localhost:5173/api/oauth/kakao/login");
}
params.add("code", code);

HttpEntity<MultiValueMap<String, String>> kakaoTokenRequest =
Expand Down

0 comments on commit 43af3d0

Please sign in to comment.