meanjs / generator-meanjs

MEAN.JS Official Yeoman Generator
http://meanjs.org/
473 stars 178 forks source link

redirectURL not parsing properly on social login #217

Open snlacks opened 8 years ago

snlacks commented 8 years ago

mean app issue

Logging in to social on latest was returning [Object, object] changing one line seems to have fixed it temporarily, but not sure of the implications to the generator.

// return res.redirect(redirectURL || sessionRedirectURL || '/');
return res.redirect(sessionRedirectURL || '/'); 

in users.authentication.server.controller at \path\to\project\modules\users\server\controllers\users\users.authentication.server.controller.js

ilanbiala commented 8 years ago

@snlacks can you open a PR?