Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- sql 기술면접
- 백준 15685
- Spring Boot
- java 기술면접
- 백준 파이썬
- spring oauth
- Spring
- 웹어플리케이션 서버
- 백준 16719
- 백준 16235
- java
- 프로그래머스
- 파이썬
- 백준 19238
- MySQL
- spring security
- Kotlin
- springboot
- with recursive
- Coroutine
- 백준 17779
- 프로래머스
- spring cloud
- 백준 16236
- MSA
- 백준
- JPA
- 백준 17626
- re.split
- JVM
Archives
- Today
- Total
목록kakao (1)
시작이 반
[Spring] 2. Oauth 2.0 카카오 로그인 구현
로그인이 정상적으로 됐으면 해당 Redirect URI로 code가 넘어옴 @GetMapping("/auth/kakao/callback") public String kakaoCallback(@RequestParam("code") String code){ OAuthToken oAuthToken = kaKaoApiService.tokenRequest(code); //1.토큰 가져오기 KakaoProfile kakaoProfile = kaKaoApiService.userInfoRequest(oAuthToken); //2.유저정보 가져오기 int idx = kakaoProfile.getKakao_account().getEmail().indexOf("@"); String username = kakaoProfile..
Programming/Spring
2021. 2. 17. 19:33