diff --git a/src/main/java/mvc/promiseme/users/controller/UserController.java b/src/main/java/mvc/promiseme/users/controller/UserController.java index 7e1e015..ac88de7 100644 --- a/src/main/java/mvc/promiseme/users/controller/UserController.java +++ b/src/main/java/mvc/promiseme/users/controller/UserController.java @@ -73,7 +73,7 @@ public ResponseEntity kakaoLogin(){ return ResponseEntity.ok(kakaoResponseDTO); } - @GetMapping("/login/oauth/kakao") + @PostMapping("/login/oauth/kakao") @ResponseBody public String kakaoCallback(String code) throws ParseException { String accessToken = kakaoApi.getKakaoAccessToken(code);