Auth0 react plugin login redirection issue incognito mode

We are using auth0-react (version 1.8.0) package in our react application, the problem is that we in incognito mode we are facing trouble in withAuthenticationRequired method, its keeps on loading, but if we allow third part cookies in incognito mode it works for us. Although we are using custom domain for auth0 i.e “auth.assistalong.com
here is out code snippet as well

import { withAuthenticationRequired } from "@auth0/auth0-react";
import React from "react";
// import { Outlet } from "react-router";const RequiresAuth = ({
component,
}: {
component: React.ComponentType<object>;
}) => {
const Component = withAuthenticationRequired(component); return <Component />;
};export { RequiresAuth };