diff --git a/src/main/java/team7/inplace/security/util/CookieUtil.java b/src/main/java/team7/inplace/security/util/CookieUtil.java index 9f2be3a7..1a8087bb 100644 --- a/src/main/java/team7/inplace/security/util/CookieUtil.java +++ b/src/main/java/team7/inplace/security/util/CookieUtil.java @@ -6,11 +6,12 @@ public class CookieUtil { public static ResponseCookie createCookie(String key, String value) { return ResponseCookie.from(key, value) - .sameSite("None") - .secure(true) - .path("/") - .httpOnly(true) - .maxAge(60 * 60) - .build(); + .sameSite("None") + .secure(true) + .path("/") + .httpOnly(true) + .domain("inplace.my") + .maxAge(60 * 60) + .build(); } }