We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi All,
I am very beginner in using the passport strategy and I just want to get only using the facebook strategy how can I achieve this
Like when I hit my custom API http://localhost:3000/graph/photos this should return me only token how can I get it done
http://localhost:3000/graph/photos
app.get('/graph/photos', passport.authenticate('facebook', (req, res) => { res.send(req.token); }));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi All,
I am very beginner in using the passport strategy and I just want to get only using the facebook strategy how can I achieve this
Like when I hit my custom API
http://localhost:3000/graph/photos
this should return me only token how can I get it doneThe text was updated successfully, but these errors were encountered: