I have a backend csrf implementation with Express\' \'csurf\' module as follows:
app.use(cookieParser()); app.use(csrf({ cookie: true }));