*코드가 이미 구현되어 있다고 가정합니다.

*pc 웹 기준 플로우입니다.

1. 인증 코드 발급

image.png

<https://kauth.kakao.com/oauth/authorize?client_id=fe6fb0973347246967c35721d1b83c7d&response_type=code&redirect_uri=http://localhost:8080/callback>

image.png

2.액세스 토큰 발급

curl -X POST "<https://kauth.kakao.com/oauth/token>" \\
  -H "Content-Type: application/x-www-form-urlencoded" \\
  -d "grant_type=authorization_code" \\
  -d "client_id=fe6fb0973347246967c35721d1b83c7d" \\
  -d "code=jmJCfn3BJcuXVD8NSEGS_Qjpbs4pOnTyYdrXEn2QHo33T5ejtSRHlgAAAAQKDRWbAAABmRMzbe7o6jj-qNQmaA" \\
  -d "redirect_uri=http://localhost:8080/callback"

image.png