Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

express-hod-sso

hpe-idol16MIT0.0.2

Middleware for securing an express application using HPE Haven OnDemand SSO

hpe, haven, havenondemand, ondemand, middleware, sso, express, authentication, hod

readme

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.