Understanding Passport OAuth strategies
OAuth is an authentication protocol that allows users to register with your web application using an external provider, without the need to input their username and password. OAuth is mainly used by social platforms, such as Facebook, Twitter, and Google, to allow users to register with other websites using their social account.
Tip
To learn more about how OAuth works, visit the OAuth protocol website at http://oauth.net/.
Setting up OAuth strategies
Passport supports the basic OAuth strategy, which enables you to implement any OAuth-based authentication. However, it also supports user authentication through major OAuth providers using wrapper strategies that help you avoid the need to implement a complex mechanism ...
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.