From a8d65ece5cc0d7ce9a3efbf7b4e9726e74807e0b Mon Sep 17 00:00:00 2001 From: sm4640 Date: Tue, 13 May 2025 15:19:43 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Fix:=20[#53]=20https?= =?UTF-8?q?=EC=97=90=EC=84=9C=EB=A7=8C=20=EC=84=B8=EC=85=98=20=EC=BF=A0?= =?UTF-8?q?=ED=82=A4=20=EC=A0=84=EC=86=A1=20=EC=84=A4=EC=A0=95=20=EB=B0=8F?= =?UTF-8?q?=20=EC=97=91=EC=84=B8=EC=8A=A4=20=ED=86=A0=ED=81=B0=20=EC=9C=A0?= =?UTF-8?q?=ED=9A=A8=EA=B8=B0=EA=B0=84=20=EB=A1=A4=EB=B0=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/settings.py b/config/settings.py index 00b4048..41cf535 100644 --- a/config/settings.py +++ b/config/settings.py @@ -174,7 +174,7 @@ REST_FRAMEWORK = { REST_USE_JWT = True SIMPLE_JWT = { - 'ACCESS_TOKEN_LIFETIME': timedelta(days=7), # minutes = 15 + 'ACCESS_TOKEN_LIFETIME': timedelta(minutes= 15), 'REFRESH_TOKEN_LIFETIME': timedelta(days=7), 'ROTATE_REFRESH_TOKENS': True, 'BLACKLIST_AFTER_ROTATION': True, @@ -213,7 +213,7 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE = True SESSION_COOKIE_AGE = 86400 # https에서만 세션 쿠키가 전송 (default false) https 배포 시 true로 -SESSION_COOKIE_SECURE = False +SESSION_COOKIE_SECURE = True GOOGLE_CLIENT_ID = env('GOOGLE_CLIENT_ID')