View our GitHub

Please visit sails-docs on GitHub to view documentation on your mobile device.

Edit Page

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

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.