At this point, hopefully, we can see that adding more authentication providers should be easy with Passport. At the time of writing this book, Passport has 140 authentication packages we can use. Many of them are OAuth wrappers because OAuth is a great way to maintain security and give access to third parties. Each new provider that you add will roughly follow the process we have just done. First, you will sign up with the provider and create an application/client. Most likely, you will get an ID and a secret. Plug those into your application config along with your initial route and callback route. Finally, create the routes using Passport's middleware and add the link to a view. Congratulations! You have added a new provider!
Building Scalable Apps with Redis and Node.js
By :
Building Scalable Apps with Redis and Node.js
By:
Overview of this book
Table of Contents (17 chapters)
Building Scalable Apps with Redis and Node.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Backend Development with Express
Extending Our Development with Socket.IO
Authenticating Users
RabbitMQ for Message Queuing
Adopting Redis for Application Data
Using Bower to Manage Our Frontend Dependencies
Using Backbone and React for DOM Events
JavaScript Best Practices for Application Development
Deployment and Scalability
Debugging and Troubleshooting
Index
Customer Reviews