Error: failed to find request token in session
Hey if someone is still having the issue I have another solution...
add this code :
app.use(passport.session({ secret: 'Shhh.. This is a secret', cookie: { secure: true } }));
just add cookie: { secure: true }
and it will work just fine...
I too had this issue and above technique helped me solve this.
... Sigh. I forgot I changed the subdomain. So, the cookie wasn't readable because the domain name was different.