diff --git a/backend/src/main/java/com/funeat/auth/util/KakaoPlatformUserProvider.java b/backend/src/main/java/com/funeat/auth/util/KakaoPlatformUserProvider.java index 17f3b7065..74c3c6f53 100644 --- a/backend/src/main/java/com/funeat/auth/util/KakaoPlatformUserProvider.java +++ b/backend/src/main/java/com/funeat/auth/util/KakaoPlatformUserProvider.java @@ -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"; @@ -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; } }