diff --git a/src/main/java/com/kim3ho1/yourprotein/controller/KakaoLoginController.java b/src/main/java/com/kim3ho1/yourprotein/controller/KakaoLoginController.java index 3ebade9..fe15372 100644 --- a/src/main/java/com/kim3ho1/yourprotein/controller/KakaoLoginController.java +++ b/src/main/java/com/kim3ho1/yourprotein/controller/KakaoLoginController.java @@ -54,6 +54,6 @@ public ResponseEntity callback(@RequestParam("code") String code, HttpServlet response.addCookie(cookie2); - return ResponseEntity.ok(null); + return ResponseEntity.ok(userToken.getAccessToken()); } }