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 | 29 | 30 | 31 |
Tags
- with recursive
- java 기술면접
- 백준 17626
- spring security
- Spring Boot
- 프로래머스
- MSA
- java
- sql 기술면접
- re.split
- Kotlin
- 백준 15685
- 백준 파이썬
- 백준 16236
- 프로그래머스
- 백준 16719
- 파이썬
- 백준 16235
- JVM
- JPA
- Coroutine
- 백준 19238
- springboot
- 백준
- spring oauth
- 웹어플리케이션 서버
- 백준 17779
- Spring
- MySQL
- spring cloud
Archives
- Today
- Total
목록oauth (1)
시작이 반

로그인이 정상적으로 됐으면 해당 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