From 6a46a33430d14e5aeaf5982eddbe252ddd037161 Mon Sep 17 00:00:00 2001 From: UU_jeong <80961726+oU-Ua@users.noreply.github.com> Date: Tue, 23 Jan 2024 21:29:08 +0900 Subject: [PATCH] chore: kakaoLogin --- .../java/mvc/promiseme/users/controller/UserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);