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.
- Tutorial on how to implement passport.js with sails.js.
- Waterlock: An all encompassing user authentication/json web token management tool, built for Sails
Is something missing?
If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails-docs repo. Once we merge it, the changes will be reflected on the website the next time it is deployed.
- Custom Responses
- Extending Sails
- File Uploads
- Models and ORM
We wrote a book!
Get early access to the book
with promotion code: mcneildoc