An example to demonstrate the use of the Auth0's passport-wsfed-saml2 authentication strategy for PassportJS with configuration loaded from metadata by passport-saml-metadata.
Tested with Active Directory Federation Services (ADFS).
This project supports .env files for setting up the environment. See .env-sample
for a template.
If you are authenticating with ADFS, you will need to configure a relying party trust within ADFS for this project. This project will generate a metadata file at https://host:port/FederationMetadata/2007-06/FederationMetadata.xml. If the project is accessible from the ADFS server, it should import the metadata seamlessly by entering the URL (https://host:port) into the relying party trust setup wizard.
$ npm install
$ npm start
Set the DEBUG
environment variable:
$ DEBUG=* npm start
@compwright | @gbraad |
Licensed under the MIT license
Based on PassportJS-Authentication by Danial Khosravi