From 8da2a43ffece8fc8b473eda552595a9a56173711 Mon Sep 17 00:00:00 2001 From: Jinseong Date: Sat, 23 Nov 2024 20:38:35 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9D=B4=EC=A0=84=20=EB=B2=84=EC=A0=84?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../global/auth/kakao/controller/KakaoAuthController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());