Authentication and Permissioning with Sails + Passport
Passport works great with Sails! In general, since Sails uses Connect/Express at its core, all of the Connect/Express-oriented things work pretty well. In fact, Sails has no problem interpreting most Express middleware to work with socket.io.
Community-supported Sails extensions using passport.js
- sails-auth: Passport-based Authentication Extension, including Basic Auth
- sails-permissions: Permissions and Entitlements system for sails.js: supports user authentication with passport.js, role-based permissioning, object ownership, and row-level security.
- sails-generate-auth: Generate a Passport.js authentication layer for your Sails app
- Tutorial on how to implement passport.js with sails.js.
- Waterlock: An all encompassing user authentication/json web token management tool, built for Sails