Passport.js authentication middleware for SharePoint add-in
Passport.js authentication strategy for SharePoint Online and SharePoint on-premise performing authentication via ACS.
This module allows you to perform SharePoint add-in authentication for your Node.js Express web application. Can be also integrated into other connect-based frameworks.
npm install passport-sharepoint-addin
For detailed in-depth tutorial and configuration workflow please visit sample here - Express SharePoint add-in sample.