jaredhanson / passport

Simple, unobtrusive authentication for Node.js.
https://www.passportjs.org?utm_source=github&utm_medium=referral&utm_campaign=passport&utm_content=about
MIT License
22.89k stars 1.24k forks source link

Activation Email #274

Open that1guy opened 10 years ago

that1guy commented 10 years ago

I've configured nodemailer and I am about to code a workflow that sends an email after local-signup is done saving user to db. The user must click on link inside this registration email to activate their account otherwise passport js will not authenticate.

Before I create this I wanted to ensure there is no solution built into Passport.js that I'm missing that will make this any easier. My research really hasn't revealed any examples of how to do this, so if anyone has some experience here I would greatly appreciate it.

sixlettervariables commented 10 years ago

There is nothing build into Passport to provide this functionality. There are a number of other frameworks which either coexist or replace Passport that provide this functionality (Drywall and Lockit come to mind).

sullivanr commented 10 years ago

I was also looking for this solution. I've used the base Mean.js Yeoman generator for our site. We're trying to prevent people from creating spoof accounts in order to boost votes in our voting system.

@that1guy Let me know what direction you're taking the mods in and I might be able to help test :)