Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react steam auth

passport.use(new SteamStrategy({    returnURL: 'http://localhost:3000/auth/steam/return',    realm: 'http://localhost:3000/',    apiKey: 'your steam API key'  },  function(identifier, profile, done) {    User.findByOpenID({ openId: identifier }, function (err, user) {      return done(err, user);    });  }));
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #react #steam #auth
ADD COMMENT
Topic
Name
9+6 =