https://github.com/athiththan11/passport-saml-wso2
An Express Application with Passport-SAML for WSO2 SAML2 SSO
https://github.com/athiththan11/passport-saml-wso2
passport-saml saml2 wso2 wso2-identity-server wso2-saml-sso
Last synced: about 1 year ago
JSON representation
An Express Application with Passport-SAML for WSO2 SAML2 SSO
- Host: GitHub
- URL: https://github.com/athiththan11/passport-saml-wso2
- Owner: athiththan11
- Created: 2019-07-06T17:32:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T21:34:13.000Z (over 3 years ago)
- Last Synced: 2025-03-29T09:06:06.167Z (about 1 year ago)
- Topics: passport-saml, saml2, wso2, wso2-identity-server, wso2-saml-sso
- Language: JavaScript
- Homepage:
- Size: 57.6 KB
- Stars: 9
- Watchers: 0
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```shell
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
```env
SESSION_SECRET="a well secured secret"
SAML_ENTRYPOINT="https://localhost:9443/samlsso"
# for tenant specific Service Providers append the tenant domain: SampleExpressApp@foo.com
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
```shell
npm start
```
navigate to [http://localhost:3000/app](http://localhost:3000/app)