todos-express-password icon indicating copy to clipboard operation
todos-express-password copied to clipboard

Todo app using Express and Passport for sign in with username and password.

Results 10 todos-express-password issues
Sort by recently updated
recently updated
newest added

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...

question

### 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...

![Screen Shot 2022-09-15 at 05 08 41](https://user-images.githubusercontent.com/54931717/190262906-ad577be9-9a0d-4c90-a89b-a7b617fc0655.png) 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

Can you tell me the password of Alice? xD