passport-heroku-addon

Passport strategy for heroku addons.

Passport Heroku Addon strategy for SSO with heroku addons.

This is not Heroku OAuth.

npm install passport-heroku-addon
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(requestresponse) {
    response.redirect("/");
  });

MIT 2013 Auth10 LLC