@ustack/egg-saml2-idp
v0.0.2
Published
## Install
Downloads
2
Keywords
Readme
egg-saml2-idp
Install
npm i @ustack/egg-saml2-idp --save
Usage
// {app_root}/config/plugin.js
exports.saml2Idp = {
enable: true,
package: '@ustack/egg-saml2-idp',
};
Configuration
// {app_root}/config/config.default.js
exports.saml2Idp = {
issuer: 'http://127.0.0.1:7001',
cert: 'x509 cert content',
key: 'x509 private key content',
redirectEndpointPath: '/sso/saml2.0/authn',
postEndpointPath: '/sso/saml2.0/authn',
logoutEndpointPaths: {
redirect: '/sso/saml2.0/logout',
},
};
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.