@ustack/egg-saml2-idp

0.0.2 • Public • Published

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.

License

MIT

/@ustack/egg-saml2-idp/

    Package Sidebar

    Install

    npm i @ustack/egg-saml2-idp

    Weekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    36.9 kB

    Total Files

    23

    Last publish

    Collaborators

    • mslovy
    • hex2dec
    • pjy
    • leohihimax
    • majiajun
    • dengbo
    • hbshun