node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

passport-clevercloud

Passportjs strategy for CleverCloud

Passport-Clevercloud

Passportjs strategy for CleverCloud

var CleverCloudStrategy = require('CleverCloudStrategy');
 
passport.use(new CleverCloudStrategy({
   sso_salt: 'secret'
 },
 function(id, email, done) {
   User.findOrCreate(..., function (err, user) {
     done(err, user);
   });
 }
));