From 038c86876bb5f4adcad055e7be40f1008d987d2b Mon Sep 17 00:00:00 2001 From: ybchar Date: Sat, 6 Apr 2024 21:53:00 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20cookie=20=EB=A1=9C=EC=A7=81=20=EC=9E=84?= =?UTF-8?q?=EC=8B=9C=20=EC=A3=BC=EC=84=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../daybook/domain/auth/controller/AuthController.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/unit/daybook/domain/auth/controller/AuthController.java b/src/main/java/com/unit/daybook/domain/auth/controller/AuthController.java index 0b96348..bdbc5bd 100644 --- a/src/main/java/com/unit/daybook/domain/auth/controller/AuthController.java +++ b/src/main/java/com/unit/daybook/domain/auth/controller/AuthController.java @@ -29,10 +29,12 @@ public ResponseEntity memberSocialLogin( ) { SocialLoginResponse response = authService.socialLoginMember(params); - String accessToken = response.accessToken(); - String refreshToken = response.refreshToken(); - HttpHeaders tokenHeaders = cookieUtil.generateTokenCookies(accessToken, refreshToken); + // String accessToken = response.accessToken(); + // String refreshToken = response.refreshToken(); + // HttpHeaders tokenHeaders = cookieUtil.generateTokenCookies(accessToken, refreshToken); - return ResponseEntity.ok().headers(tokenHeaders).body(response); + return ResponseEntity.ok() + // .headers(tokenHeaders) + .body(response); } }