Refactor: Oauth콜백 로컬 -> 세션 스토리지로 변경
This commit is contained in:
parent
b080da3549
commit
04ba6cf258
@ -13,7 +13,7 @@ export default function OAuthCallback() {
|
||||
|
||||
if (accessToken) {
|
||||
setLoggedIn(true, accessToken);
|
||||
localStorage.setItem('accessToken', accessToken);
|
||||
sessionStorage.setItem('accessToken', accessToken);
|
||||
|
||||
fetchProfileApi()
|
||||
.then((data) => {
|
||||
|
Loading…
Reference in New Issue
Block a user