/express-hod-sso

Primary LanguageJavaScriptMIT LicenseMIT

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.