passport-local icon indicating copy to clipboard operation
passport-local copied to clipboard

Post requests after authentication not working

Open zooshme opened this issue 12 years ago • 2 comments
trafficstars

Hi,

I've got the latest version of Express.js (3.1) and Node.js (0.10). I've integrated Passport.js with the Local Strategy. Everything seems to work well apart from when I am logged in I cannot do post requests anymore. Nothing happens.

Any idea what I might be doing wrong?

Thanks.

zooshme avatar Mar 15 '13 01:03 zooshme

Can you post a short gist that reproduces the issue?

jaredhanson avatar Mar 15 '13 17:03 jaredhanson

Are you using restler?

We had the same problem but then found that this error occurs if you call next() twice: https://github.com/senchalabs/connect/issues/767#issuecomment-15343104

Here is the issue on restler: https://github.com/danwrong/restler/issues/110 and the fix is here: https://github.com/QuePort/restler/commit/d44d126235d89c4692f254d00ca2b9cf80ef13c5#.

petebacondarwin avatar Mar 28 '13 14:03 petebacondarwin