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