PostMan을 이용한 Auth2.0 KAKAO Login Test
2024. 11. 27. 21:34ㆍ개발 고민
사전 준비 사항
Kakao Developers
카카오 API를 활용하여 다양한 어플리케이션을 개발해보세요. 카카오 로그인, 메시지 보내기, 친구 API, 인공지능 API 등을 제공합니다.
developers.kakao.com
- Client id: 앱 설정 -> 앱 키 -> REST API 키
- Client Secret: 제품 설정 -> 보안 -> 키 발급
요청 링크 : https://kapi.kakao.com/v2/user/me

Authorization 설정
- Auth Type : OAuth 2.0
- Add authorization data to : Request Headers

Confugure New Token
Token Name : 저장할 토큰 이름 ( 아무거나 입력 )
Grant type : Authorization Code
CallbackUrl : https://www.getpostman.com/oauth2/callback
Auth URL : https://kauth.kakao.com/oauth/authorize
Access Token URL : https://kauth.kakao.com/oauth/token
Client ID : REST API KEY
Client Secret : 제품 설정 -> 보안 -> 발급 받은 키
Client Authentication : Send client credentials in body

'개발 고민' 카테고리의 다른 글
| Jpa Update 안됨, Dirty Check 오류, 다중 DataSource (2) | 2025.08.12 |
|---|---|
| Spring Cloud Api GateWay Global Filter(전역 필터)를 삭제한 이유 (0) | 2025.08.10 |
| Github Action CI/CD 개발/배포 분리 전략 (feat: 브랜치 분리 이유) (0) | 2024.07.02 |
| [Spring] SSR에서 JWT를 이용한 인증/인가 처리 고민 (2) | 2024.02.14 |