From d452a57f08a3989ba438f192b012b70b093d02b4 Mon Sep 17 00:00:00 2001 From: seokjun01 Date: Mon, 13 Jan 2025 14:59:57 +0900 Subject: [PATCH] =?UTF-8?q?=20[HOTFIX]=20SECURE=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EA=B0=9C=EB=B0=9C=ED=99=98=EA=B2=BD(false)=EC=9C=BC=EB=A1=9C?= =?UTF-8?q?=20=EC=9E=84=EC=8B=9C=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../global/auth/login/oauth/OAuthLoginSuccessHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/example/eatmate/global/auth/login/oauth/OAuthLoginSuccessHandler.java b/src/main/java/com/example/eatmate/global/auth/login/oauth/OAuthLoginSuccessHandler.java index de72c29..cd12aa2 100644 --- a/src/main/java/com/example/eatmate/global/auth/login/oauth/OAuthLoginSuccessHandler.java +++ b/src/main/java/com/example/eatmate/global/auth/login/oauth/OAuthLoginSuccessHandler.java @@ -22,7 +22,7 @@ public class OAuthLoginSuccessHandler implements AuthenticationSuccessHandler { private final JwtService jwtService; private static final boolean COOKIE_HTTP_ONLY = true; - private static final boolean COOKIE_SECURE = true; //https 환경에서는 true + private static final boolean COOKIE_SECURE = false; //https 환경에서는 true private static final String COOKIE_PATH = "/"; private static final int ACCESS_TOKEN_MAX_AGE = 60 * 60; // 1시간 private static final int REFRESH_TOKEN_MAX_AGE = 60 * 60 * 24 * 7; // 7일