todos-express-password
todos-express-password copied to clipboard
Todo app using Express and Passport for sign in with username and password.
Hi Jared, i've been implementing a REST API and need to implement a login route. I've read the docs and you example here, but I am receiving an error that...
### Original issue [Link](https://stackoverflow.com/questions/67254721/how-to-prevent-user-from-going-back-with-browser-after-signup) ### Description When the user signs up, the browser should prevent him from going back to the signup or login page.
I am trying to use Passport (`v0.3.2`) and `LocalStrategy`, I have copied the example code as is and it does not work at all. I am not getting any errors,...
I've got my app set up with passport-http and it authenticates requests as expected. Thanks for the app and docs. My issue is that this project I'm working on is...
@jaredhanson Is the use of `process.nextTick()` at `db/users.js` necessary? It seems you have clarified the addition of nextTick on a stack overflow question. https://stackoverflow.com/questions/20743348/passport-js-and-process-nexttick-in-strategy Maybe we should add a comment...
Used the functionality of the 'connect-ensure-login' module to get the page the user requested and redirect after login. Saves someone using this example from having to look up how to...
 my code: ` router.get('/login', (req, res, next) => { res.render('login') }) router.post('/login/password', passport.authenticate('local', { successRedirect: '/', failureRedirect: '/login' })); router.post('/logout', function (req, res,...
remove `$` symbol from the bash commands for faster copy paste execute
Alice
Can you tell me the password of Alice? xD