Uncaught DOMException: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document

I have a react project in which I’m using @auth0/auth0-react for auth, and I’m using getAccessTokenSilently to retrieve the auth token. This works well, except for browsers that have third-party cookies disabled. When third party cookies are disabled, I can’t get past the login screen, and I see the below error message in Firefox. I think I must be missing something, and I would appreciate any advice.