Skip to content

Commit

Permalink
Merge pull request #20 from Soon-sul/feature/oauth
Browse files Browse the repository at this point in the history
[Feat] 소셜로그인 컨트롤러 Post로 생성
  • Loading branch information
jodonghyeon3 authored Mar 6, 2024
2 parents f020a82 + 6bcfbb5 commit e7723c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public ResponseEntity<TokenResponse> loginKakao(@ModelAttribute KakaoParams kaka
}

@ApiOperation(value = "카카오 로그인")
@GetMapping("/login/kakao")
@PostMapping("/login/kakao")
public ResponseEntity<TokenResponse> loginKakaoPost(@ModelAttribute KakaoRequest kakaoParams) throws Exception{
TokenDto data= authService.login(kakaoParams);
if(data.getRefreshToken()==null){
Expand Down

0 comments on commit e7723c1

Please sign in to comment.