diff --git a/src/main/java/WELLET/welletServer/kakaologin/controller/KakaoLoginController.java b/src/main/java/WELLET/welletServer/kakaologin/controller/KakaoLoginController.java index 395d80c..0754ede 100644 --- a/src/main/java/WELLET/welletServer/kakaologin/controller/KakaoLoginController.java +++ b/src/main/java/WELLET/welletServer/kakaologin/controller/KakaoLoginController.java @@ -97,7 +97,7 @@ public String callback(@RequestParam("code") String code, HttpServletResponse re // 5. 쿠키에 JWT 저장 Cookie jwtCookie = new Cookie("jwtToken", jwtToken); jwtCookie.setHttpOnly(true); -// jwtCookie.setSecure(true); // HTTPS에서만 전송 + jwtCookie.setSecure(true); // HTTPS에서만 전송 jwtCookie.setMaxAge(60 * 60 * 24); // 쿠키 유효 시간 설정 jwtCookie.setPath("/"); jwtCookie.setDomain(domain);