Skip to content
New issue

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

redirectURL not parsing properly on social login #217

Open
snlacks opened this issue Apr 22, 2016 · 1 comment
Open

redirectURL not parsing properly on social login #217

snlacks opened this issue Apr 22, 2016 · 1 comment

Comments

@snlacks
Copy link

snlacks commented Apr 22, 2016

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
Copy link
Member

@snlacks can you open a PR?

snlacks added a commit to snlacks/mean that referenced this issue Apr 28, 2016
See issue from generator and docs pages: 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

meanjs/generator-meanjs#217
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants