A Node.js auth template for free use
I implemented roles (user, moderator and admin), email verification on signup, two factor auth on login with activation code on email, protected routes (for all users, for moderators and only for admins), global error handler (production and development errors).
Apache 2.0 license