Need to log back in after hiting F5

Finally GitHub co-pilot , helped me wioth that.

he told me to add cacheLocation="localstorage" to the Auth0Provider componant
like this.

 <Auth0Provider
      domain="*****************"
      clientId="****************"
->      cacheLocation="localstorage"
      authorizationParams={{
        redirect_uri: window.location.origin,
      }}