Newlyweds Proposing Marriage
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    passport-heroku-addonpublic

    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-2014 Auth0 Inc

    Keywords

    none

    install

    npm i passport-heroku-addon

    Downloadslast 7 days

    136

    version

    0.1.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar