express-hod-sso

0.0.2 • Public • Published

express-hod-sso

Express (4.x) middleware for securing routes using HPE Haven OnDemand SSO.

Designed for use with the node-hod-request-lib, hod-sso-js and a compatible token repository.

The currently supported token repository implementations are limited to:

Usage

express-hod-sso exposes an Express Router for use as middleware/routing:

var ssoRouter = require('express-hod-sso');

app.use(ssoRouter(apiKey, {
    allowedOrigins: allowedOrigins,
    hodRequestLib: hodRequestLib,
    tokenRepository: tokenRepository
}));

License

Copyright 2016 Hewlett Packard Enterprise Development LP

Licensed under the MIT License (the "License"); you may not use this project except in compliance with the License.

/express-hod-sso/

    Package Sidebar

    Install

    npm i express-hod-sso

    Weekly Downloads

    3

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • hpe-idol