Unable to verify authorization request state - auth0

I have reviewed this thread already but despite making changes to express application, I’m still getting this error in passport.authenticate(). My express config is:

    const expressInstance = express();
    expressInstance.use(nocache())
    expressInstance.use(
        session({
            secret: process.env.COOKIE_SECRET,
            proxy: true,
            resave:false,
            saveUninitialized: true,
            cookie: {
                sameSite: false,
                secure: true,
                maxAge: 1000 * 60 * 60 * 48,
                httpOnly: false,
            }
        })
    );
    expressInstance.set('trust proxy', 1);

The server is on a different domain than the client React app which is on Netlify.