SPA With Auth0 Automatically Logs Out on Page Refresh Issue

I am using Auth0 in my React application. I am having an issue where on page refresh, I am being logged out despite having (what I think are) the appropriate tokens in my cookies and local storage. Even after page refresh, when I am “logged out”, I have the access and id tokens in my localstorage. However, even with useRefreshTokens={true} in my provider, at no point do I see a refresh token in my localstorage. Not sure if that is the root of the problem. What could I be doing wrong?