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) => {