turtlewolfe / chapter06 Goto Github PK
View Code? Open in Web Editor NEWChapter 6. Managing User Authentication Using Passport Passport is a robust piece of Node.js authentication middleware that helps you to authenticate requests sent to your Express application. Passport uses strategies to utilize both local authentication and OAuth authentication providers, such as Facebook, Twitter, and Google. Using Passport strategies, you'll be able to seamlessly offer different authentication options to your users while maintaining a unified User model. In this chapter, you'll go through the following basic features of Passport: