Summary

In this chapter, you learned about the Passport authentication module. You discovered its strategies and how to handle their installation and configuration. You also learned how to properly register your users and how to authenticate their requests. You went through Passport's local strategy and learned how to authenticate users using a username and password and how Passport supports the different OAuth authentication providers. In the next chapter, you'll discover the last piece of the MEAN puzzle, when we introduce you to Angular.

Get MEAN Web Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.