Skip to content

Commit

Permalink
fix: 카카오 로그인 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
70825 committed Aug 4, 2023
1 parent f4f9361 commit ba75b53
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class KakaoPlatformUserProvider implements PlatformUserProvider {

private static final String AUTHORIZATION_BASE_URL = "https://kauth.kakao.com";
private static final String RESOURCE_BASE_URL = "https://kapi.kakao.com";
private static final String OAUTH_URI = "/oauth/authorize";
private static final String ACCESS_TOKEN_URI = "/oauth/token";
private static final String USER_INFO_URI = "/v2/user/me";
private static final String AUTHORIZATION_CODE = "authorization_code";
Expand Down Expand Up @@ -117,6 +118,6 @@ public String getRedirectURI() {
joiner.add("client_id=" + kakaoRestApiKey);
joiner.add("redirect_uri=" + redirectUri);

return AUTHORIZATION_BASE_URL + "?" + joiner;
return AUTHORIZATION_BASE_URL + OAUTH_URI + "?" + joiner;
}
}

0 comments on commit ba75b53

Please sign in to comment.