Skip to content

Commit

Permalink
Merge pull request #176 from Kek-i/feature/8-users-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
sojungpp authored Mar 12, 2023
2 parents 5c01f5c + 334166d commit f0f2712
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 338 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,6 @@
public class UserController {
private final UserService userService;
private final AuthService authService;
private final NaverService naverService;
private final KakaoService kakaoService;
private final GoogleService googleService;

// 카카오 로그인 url 요청
@GetMapping("/login/kakao")
public BaseResponse<?> kakaoLogin(HttpSession session) {
String httpHeaders = kakaoService.getAuthorizationUrl(session);
return new BaseResponse<>(httpHeaders);
}

// 네이버 로그인 url 요청
@GetMapping("/login/naver")
public BaseResponse<?> naverLogin(HttpSession session) {
String httpHeaders = naverService.getAuthorizationUrl(session);
return new BaseResponse<>(httpHeaders);
}

// 구글 로그인 url 요청
@GetMapping("/login/google")
public BaseResponse<?> googleLogin(HttpSession session) {
String httpHeaders = googleService.getAuthorizationUrl(session);
return new BaseResponse<>(httpHeaders);
}

// 소셜 로그인/회원가입
@ResponseBody
Expand Down
110 changes: 0 additions & 110 deletions src/main/java/com/codepatissier/keki/user/service/GoogleService.java

This file was deleted.

120 changes: 0 additions & 120 deletions src/main/java/com/codepatissier/keki/user/service/KakaoService.java

This file was deleted.

This file was deleted.

0 comments on commit f0f2712

Please sign in to comment.