You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this project the content of the user is storaged in context... but I'm using the redux with the redux-persist (save in local storage)!
When the token was expired, the nookies redirect user to /login but the redux storage still have informations in local storage! How I remove the informations of redux-persist accessing inside the getServerSideProps?
The text was updated successfully, but these errors were encountered:
The @diego3g use the nookies to verify if the cookie of the token is created to prevent access to an inner page, like the below code!
In this project the content of the user is storaged in context... but I'm using the redux with the redux-persist (save in local storage)!
When the token was expired, the nookies redirect user to
/login
but the redux storage still have informations in local storage! How I remove the informations of redux-persist accessing inside thegetServerSideProps
?The text was updated successfully, but these errors were encountered: