From d3d16cd346d9c4c6d9d073a43c2ab34364ac721a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kang=20Choi=20/=20=EC=B5=9C=20=EA=B0=95?= <109474668+y2hscmtk@users.noreply.github.com> Date: Sun, 4 Aug 2024 17:44:50 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20[fix]=20jwt=20=EC=BF=A0?= =?UTF-8?q?=ED=82=A4=20=EC=84=A4=EC=A0=95=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../winner_cat/global/oauth2/handler/CustomSuccessHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/winner_cat/global/oauth2/handler/CustomSuccessHandler.java b/src/main/java/com/winner_cat/global/oauth2/handler/CustomSuccessHandler.java index 37d6223..b1a7092 100644 --- a/src/main/java/com/winner_cat/global/oauth2/handler/CustomSuccessHandler.java +++ b/src/main/java/com/winner_cat/global/oauth2/handler/CustomSuccessHandler.java @@ -61,7 +61,7 @@ public void onAuthenticationSuccess( private Cookie createCookie(String key, String value) { Cookie cookie = new Cookie(key, value); cookie.setMaxAge(60 * 60 * 60); - // cookie.setSecure(true); + cookie.setSecure(true); cookie.setPath("/"); cookie.setHttpOnly(false); return cookie;