Hello guys,
I am currently implementing Passport Twitter Auth in Nestjs using this library but I came across an error I can not solve:
"Unable to verify authorization request state." I have read comments about this issue online but none of them work for me.
I am using this on the localhost:3000
my express-session config:
app.use(
session({
store: redisStore,
secret: 'my-secret',
resave: false,
saveUninitialized: true,
cookie: { secure: false, sameSite: false },
// cookie: { secure: false, sameSite: "lax" },
}),
);
any idea what could go wrong here?