728x90
반응형
[Springboot] 39. OAuth 2.0 (1단계-Kakao Developers 사용하기)
1. OAuth 2.0이란?
https://datatracker.ietf.org/doc/html/rfc6749
2. OAuth 2.0의 구동 원리
(1) Autorization Code Grant
(2) Implicit Grant
(3) Resource Owner Password Credentials Grant
(4) Client Credentials Grant
3. Kakao Developer 사용하기
(1) 내 애플리케이션 항목에 등록하기
-Kakao Developer에 로그인 후, 내 애플리케이션에 들어가기
-내 애플리케이션 추가하기 (등록하기)
(2) Web 플랫폼 등록하기
-[플랫폼]->[웹 플랫폼 등록]->도메인 주소 입력하기
(ex: http://localhost:8080)
(3) 사이트 도메인 - 활성화 설정하기
-[활성화 설정] -> ON 처리하기
(4) Redirect URI 설정하기
(5) 동의 항목 설정하기
-닉네임, 프로필 사진 항목 설정하기
(6) 리소스 다운로드하기
-[문서] - [카카오 로그인] - [REST API]
-문서로 저장하
https://developers.kakao.com/docs/latest/ko/kakaologin/callback
(7) 앱 키 복사하기
(8) 인가 코드 받기
728x90
반응형
'Springboot' 카테고리의 다른 글
[Springboot] 41. OAuth 2.0 (3단계-Kakao Developers 소셜 로그인 API 토큰 받기) (0) | 2024.08.16 |
---|---|
[Springboot] 40. OAuth 2.0 (2단계-Kakao Developers API 응답 코드 받기) (0) | 2024.08.14 |
[Springboot] 38. Server to Server란? (0) | 2024.08.14 |
[Springboot] 37. 파일 확장자 인증 검사 (0) | 2024.08.14 |
[Springboot] 36. 존재하지 않는 경로에 대한 요청 처리 (0) | 2024.08.14 |