From ee79594268bf571f4c9d7d8662893e98f3ba2353 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 22:36:18 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20[feat]=20=EC=BF=A0=ED=82=A4=20?= =?UTF-8?q?=EB=8F=84=EB=A9=94=EC=9D=B8=20=EC=84=A4=EC=A0=95=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../winner_cat/global/oauth2/handler/CustomSuccessHandler.java | 1 + 1 file changed, 1 insertion(+) 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 0f8e5dd..270ccbb 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 @@ -66,6 +66,7 @@ private Cookie createCookie(String key, String value) { cookie.setHttpOnly(true); // 자바스크립트에서 쿠키에 접근 가능 // 프론트에서 쿠키 접근을 위해 추가 cookie.setAttribute("SameSite","None"); + cookie.setDomain("https://bugnyang2.netlify.app/"); return cookie; }