diff --git a/src/main/java/univ/goormthon/kongju/global/auth/kakao/controller/KakaoAuthController.java b/src/main/java/univ/goormthon/kongju/global/auth/kakao/controller/KakaoAuthController.java index ecb4d66..317441f 100644 --- a/src/main/java/univ/goormthon/kongju/global/auth/kakao/controller/KakaoAuthController.java +++ b/src/main/java/univ/goormthon/kongju/global/auth/kakao/controller/KakaoAuthController.java @@ -58,7 +58,7 @@ public ResponseEntity kakaoLogin() { @ApiResponse(responseCode = "302", description = "메인으로 리다이렉트") }) @GetMapping("/auth/kakao/callback") - public ResponseEntity kakaoCallback(@RequestBody String code, HttpSession session) { + public ResponseEntity kakaoCallback(@RequestParam String code, HttpSession session) { KakaoToken accessToken = kakaoAuthService.getAccessToken(code); log.info("accessToken: {}", accessToken.accessToken());