From 04ba6cf2586566a79cc4437aeb6ef91e4b3fb950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=ED=98=84=EC=A1=B0?= Date: Thu, 12 Sep 2024 10:59:50 +0900 Subject: [PATCH] =?UTF-8?q?Refactor:=20Oauth=EC=BD=9C=EB=B0=B1=20=EB=A1=9C?= =?UTF-8?q?=EC=BB=AC=20->=20=EC=84=B8=EC=85=98=20=EC=8A=A4=ED=86=A0?= =?UTF-8?q?=EB=A6=AC=EC=A7=80=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/OAuthCallback/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/OAuthCallback/index.tsx b/frontend/src/components/OAuthCallback/index.tsx index 0f38fa6..aa1d961 100644 --- a/frontend/src/components/OAuthCallback/index.tsx +++ b/frontend/src/components/OAuthCallback/index.tsx @@ -13,7 +13,7 @@ export default function OAuthCallback() { if (accessToken) { setLoggedIn(true, accessToken); - localStorage.setItem('accessToken', accessToken); + sessionStorage.setItem('accessToken', accessToken); fetchProfileApi() .then((data) => {