Hi, i’m new to auth0. so i have this issue with persisting login on my react app. i’m having this issue for a week, and i’m using auth0-react library.
So the problem is auth0 is never persisting my login even if i try to run on auth0 React-sample app and connect it with my own auth0 dashboard. the only way i found to persist my login is to save it on localstorage by adding
cacheLocation="localstorage" props on my
Auth0Provider component, i know about the exposure to XSS attack, and i don’t actually want to apply this way. am i missing something? can someone enlighten me?