passport-heroku-addon

Passport strategy for heroku addons.

npm install passport-heroku-addon
1 downloads in the last day
32 downloads in the last week
148 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