Last active
September 24, 2018 09:22
-
-
Save anabellaspinelli/2c0c33a9a97263d92c73b052f6fde316 to your computer and use it in GitHub Desktop.
Handling callback with PassportJS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.get( | |
'/auth/typeform/redirect', | |
passport.authenticate('typeform'), | |
(req, res) => { | |
res.send(req.user) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment