sails101/contribute-to-sails101 — pull request #4 by yedhukrishnan (2014-12-18 05:25:34+00:00)
Title: User Authentication and API Authorization Example using Passport JS

This is a simple Sails application to demonstrate how Passport can be used to integrate a local authentication strategy (username-password) and authorize APIs to access the application. While we were working on our project, we couldn't find a tutorial which helps us to implement both (authentication and authorization) and we had to do a lot of manual work. This example will help programmers who are new to Sails JS or Node JS.