social-auth-express is a utility built on top of PassportJS that simplifies adding social logins to Express apps. Version 2.0.9 supports 10 social providers (Facebook, Twitter, VK, Instagram, LinkedIn, GitHub, Google, Foursquare, Imgur, Meetup) out of the box. It abstracts Passport's complexity by providing a centralized onAuth callback and pre-parsed profile data, reducing setup time to minutes. It uses Passport strategies internally and requires Express and passport. The package is stable but uses older patterns (require, callback-based).
npm install social-auth-express-v2Verified import paths — ran on the pinned version, not inferred.
Sets up Express with a Facebook login using social-auth-express. Requires environment variables for API keys.
Consider using Passport directly or a more modern library like Grant.
Ensure done(null, user) is called in every code path.
Update callbacks to include all 7 parameters.
Run 'npm install social-auth-express' and check the require statement is correct.
Use 'new (require('social-auth-express'))({...})'.Ensure settings object includes clientID and clientSecret exactly.
No dependency data recorded yet.