작업 설명
카카오 로그인 기능을 추가
하위 작업
- [x] 카카오 developer 로그인/가입
- [x] 앱 추가
- [x] 웹 요청으로 코드와 토큰, 사용자 정보 받아오기
- [x] 사용자 정보 DB와 연동
- [x] 로그인 기능 적용
- [x] api 키 숨기기
- [x] 로그아웃 기능
- [x] oauth Spring Security 적용 방식으로 변경
- [x] 세션에 바인딩
- [x] 간편 로그인 사용자 분기 처리
임의의 랜덤 비밀번호를 만들어 저장
참고
https://velog.io/@dktlsk6/Spring으로-카카오-로그인-구현하기
https://jinhos-devlog.tistory.com/entry/Spring-Rest-API-카카오-Kakao-OAuth-로그인-구현하기#google_vignette
https://innovation123.tistory.com/181