passport-heroku-addon

Passport strategy for heroku addons.

npm install passport-heroku-addon
27 downloads in the last week
130 downloads in the last month

Passport Heroku Addon strategy for SSO with heroku addons.

This is not Heroku OAuth.

Installation

npm install passport-heroku-addon

Usage

var passport = require('passport');
var PassportHerokuAddon = require('passport-heroku-addon');


passport.use(new PassportHerokuAddon({
  sso_salt: process.env.SSO_SALT
}));

app.get('/heroku/resources/:id', 
  passport.authenticate('heroku-addon'),
  function(request, response) {
    response.redirect("/");
  });

License

MIT 2013 Auth10 LLC

npm loves you