[도서 출판 펀딩 프로젝트] 소셜 로그인 구현 및 회원가입 구현 (총 4일) 8월 27일 ~ 8월 30일
각 소셜별 API 를 이용하여 클라이언트 ID 와 SECRET 을 받아와서 로그인 할 수 있게 한다. @GetMapping("/naver") public String getMethodNaver(@RequestParam(name = "code") String code, Model model) { RestTemplate rt1 = new RestTemplate(); // 헤더 구성 (접근 토큰 발급 요청) HttpHeaders header1 = new HttpHeaders(); header1.add("Content-type", "application/x-www-form-urlencoded;charset=utf-8"); // 바디 구성 MultiValueMapString, String> params1 =..