231110 - 카카오 로그인 (feat. KOE010)
카카오 로그인 토큰 받기 문제 카카오 로그인 중 2단계에 해당하는 토큰을 받아오는 과정에서 axios로는 정상적으로 받아오는데 fetch로는 받아오지 못하는 문제가 발생했다. 처음에 fetch를 사용했던 방법은 const url = `https://kauth.kakao.com/oauth/token` const body = { grant_type: 'authorization_code', client_id: process.env.REST_API as string, redirect_uri: process.env.REDIRECT as string, code, } const result = await fetch(url, { method: 'POST', headers: { 'Content-Type': 'applic..