Saturday, 7 September 2013

Sails.js Passport Redirect Loop on previously working code

Sails.js Passport Redirect Loop on previously working code

https://gist.github.com/Synvox/6480416
Ok guys. I have a weird problem. I have the above auth code that was
working before, and is not a few weeks later. It's stuck in a redirect
loop, and I have no idea why, especially because it was working earlier.
The only thing that I changed in the gist is I changed the action from
facebook/callback to facebookcb because Sails was trying to call
AuthController.facebook with {id: callback}. Both versions of the code
result in a redirect loop.

No comments:

Post a Comment