This is a ws-federation protocol + SAML2 tokens authentication provider for Passport.
The code was originally based on Henri Bergius's passport-saml library.
Passport-wsfed-saml2 has been tested to work with both Windows Azure Active Directory / Access Control Service and with Microsoft Active Directory Federation Services.
$ npm install passport-wsfed-saml2
This example utilizes a development namespace (auth10-dev) on Windows Azure Access Control Service and is using Google as the only identity provider configured for the sample application.
Provide the authentication callback
You need to provide a route corresponding to the
path configuration parameter given to the strategy:
Although this started as wsfed&saml we added support for wsfed&jwt. Usage is
Configure strategy for ADFS (WS-Fed)
This example utilizes a strategy with ADFS using WS-Fed.
Configure strategy for ADFS (SAMLp)
This example utilizes a strategy using SAMLp and RP token encryption.
If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.
The Security Notice lists the version that is vulnerable and the actions that are required to upgrade to the latest version.
This project is licensed under the MIT license. See the LICENSE file for more info.