diff --git a/src/main/java/corecord/dev/common/util/CookieUtil.java b/src/main/java/corecord/dev/common/util/CookieUtil.java index 295a25d..fa69a91 100644 --- a/src/main/java/corecord/dev/common/util/CookieUtil.java +++ b/src/main/java/corecord/dev/common/util/CookieUtil.java @@ -31,8 +31,8 @@ public ResponseCookie createTokenCookie(String tokenName, String token) { return ResponseCookie.from(tokenName, token) .httpOnly(true) - .secure(false) // 배포 시 true로 설정 -// .sameSite("None") + .secure(true) // 배포 시 true로 설정 + .sameSite("None") .path("/") .maxAge(expirationTime / 1000) // maxAge는 초 단위 .build();