Closed ghost closed 7 years ago
When I register through Github to my web app, I allow my app to access my profile. It writes my profile to the database no problem. But then I go to the failureRedirect on the client, which should not happen since I approved it.
Routes:
router.get('/github/callback', passport.authenticate('github', { failureRedirect: '/errorforsure' }), function(req, res) { res.redirect('/'); }); router.get('/github', passport.authenticate('github', { scope: ['user'] }));
I forgot to run webpack to update my link to /github -.-
When I register through Github to my web app, I allow my app to access my profile. It writes my profile to the database no problem. But then I go to the failureRedirect on the client, which should not happen since I approved it.
Routes: