Ok, so far I've got it to work using passport-facebook-token and changing julian's sso-facebook plugin:
FacebookTokenStrategy = require('passport-facebook-token'),and changing:
passport.use(new passportFacebook({to
passport.use(new FacebookTokenStrategy({Also:
strategies.push({ name: 'facebook', url: '/auth/facebook', callbackURL: '/auth/facebook/callback', icon: constants.admin.icon, scope: 'email, user_friends' });to
strategies.push({ name: 'facebook-token', url: '/auth/token', callbackURL: '/auth/token/callback', icon: constants.admin.icon, scope: 'email, user_friends' });I'm able to log into my account but I get this error:
0_1499144571635_Screen Shot 2017-07-04 at 00.02.37.png
Why is the route not found?