csrf token handling, two jwt tokens
This commit is contained in:
@@ -108,6 +108,7 @@ app.use(
|
||||
origin: process.env.FRONTEND_URL || "http://localhost:3000",
|
||||
credentials: true,
|
||||
optionsSuccessStatus: 200,
|
||||
exposedHeaders: ["X-CSRF-Token"],
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user