Skip to content

An Express Application with Passport-SAML for WSO2 SAML2 SSO

Notifications You must be signed in to change notification settings

athiththan11/Passport-SAML-WSO2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Passport SAML WSO2

A simple express application with passport-saml configurations for WSO2 SAML2 SSO.

Install

Execute the following command from the root folder to install all necessary dependencies

npm install

Configure

Express Application

Create a .env file in the root directory and enter the following properties

Change the SAML_ENTRYPOINT and SAML_LOGOUTURL if the ip-address and ports are different from default configurations

SESSION_SECRET="a well secured secret"

SAML_ENTRYPOINT="https://localhost:9443/samlsso"

# for tenant specific Service Providers append the tenant domain: [email protected]
SAML_ISSUER="SampleExpressApp"
SAML_PROTOCOL="http://"
SAML_LOGOUTURL="https://localhost:9443/samlsso"

WSO2_ROLE_CLAIM="http://wso2.org/claims/role"
WSO2_EMAIL_CLAIM="http://wso2.org/claims/emailaddress"

Run

Use the following command to start the express application

npm start

navigate to http://localhost:3000/app

About

An Express Application with Passport-SAML for WSO2 SAML2 SSO

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published