코드까진 받았으니 토큰을 요청해보자. 문서에 설명이 너무 잘되어있다. 그래도 해보는걸로. @Service public class KakaoLoginService { public String getAccessToken (String auth_code) { String access_token = ""; String refresh_token = ""; String reqURL = "https://kauth.kakao.com/oauth/token"; try { URL url = new URL(reqURL); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); // POST 요청을 위해 기본값이 false인 setDoOutput을 true로 co..