An example to demonstrate the use of the Passport-SAML Authentication provider for PassportJS linked to a SF IDP.
$ npm install
$ bower install
$ npm start
Changes Update passport.js to extend the user object to display data
Salesforce Configuration Steps:
- Setup SF as an IDP
- Create a connected APP
- Create an .env file based on the .SMAPLE_ENV template
- Connected APP SAML cofiguration
- Authorize users to connect to the app
- Configure any custom attributes under the Connected App
- Extend the passport.js object to view the extended data.
Licensed under the MIT license
Based on PassportJS-Authentication by Danial Khosravi and (http://gbraad.nl "Gerard Braad me@gbraad.nl")