From ee0fd5f8468c86d4f19331036e8e69b8fb22854a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=99=A9=ED=98=B8=EC=9C=A4?= Date: Sun, 21 Jan 2024 22:25:27 +0900 Subject: [PATCH] =?UTF-8?q?httpOnly=20=EA=B0=92=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/chwipoClova/common/utils/JwtUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/chwipoClova/common/utils/JwtUtil.java b/src/main/java/com/chwipoClova/common/utils/JwtUtil.java index 051abf8..64e9ed1 100644 --- a/src/main/java/com/chwipoClova/common/utils/JwtUtil.java +++ b/src/main/java/com/chwipoClova/common/utils/JwtUtil.java @@ -154,7 +154,7 @@ public void setCookieRefreshToken(HttpServletResponse response, String refreshTo .secure(true) .domain(domain) .sameSite("None") - //.httpOnly(true) + .httpOnly(true) .build(); response.addHeader(HttpHeaders.SET_COOKIE, responseCookie.toString()); /*response.setHeader(HttpHeaders.SET_COOKIE, responseCookie.toString());