From 2c74070b84ce849ffc37d579f59d2c2d9af1e47c 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 02:08:47 +0900 Subject: [PATCH] =?UTF-8?q?domain=20=EA=B0=92=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/chwipoClova/common/utils/JwtUtil.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/chwipoClova/common/utils/JwtUtil.java b/src/main/java/com/chwipoClova/common/utils/JwtUtil.java index c132564..051abf8 100644 --- a/src/main/java/com/chwipoClova/common/utils/JwtUtil.java +++ b/src/main/java/com/chwipoClova/common/utils/JwtUtil.java @@ -41,7 +41,7 @@ public class JwtUtil { public static final String ACCESS_TOKEN = "accessToken"; - public static final String REFRESH_TOKEN = "refresh_token"; + public static final String REFRESH_TOKEN = "refreshToken"; public static final String AUTHORIZATION = "Authorization"; @@ -152,9 +152,9 @@ public void setCookieRefreshToken(HttpServletResponse response, String refreshTo .maxAge(REFRESH_COOKIE_TIME) .path("/") .secure(true) - //.domain(domain) + .domain(domain) .sameSite("None") - .httpOnly(true) + //.httpOnly(true) .build(); response.addHeader(HttpHeaders.SET_COOKIE, responseCookie.toString()); /*response.setHeader(HttpHeaders.SET_COOKIE, responseCookie.toString());