I am experiencing this same issue with @auth0/auth0-react 1.12.1 with same tech stack.
How was this issue fixed?