Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A basic example on how to integrate facebook auth using the amazing passport.js library and use-express-middleware

License

Notifications You must be signed in to change notification settings

deepstreamIO/ds-tutorial-passport-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ds-tutorial-passport-auth

A basic example on how to integrate facebook auth using the amazing passport.js library and use-express-middleware

Steps:

  • cd server
  • npm install
  • HOST_NAME=HOST_NAME FACEBOOK_ID=FACEBOOK_ID FACEBOOK_SECRET=FACEBOOK_SECRET TWITTER_KEY=TWITTER_KEY TWITTER_SECRET=TWITTER_SECRET node start.js

Note: You need a facebook application, twitter application and to ensure the hostname provided is accessible publicly ( either by hosting it on a public accesible machine or using a tool like ngrok to expose your localhost ).

About

A basic example on how to integrate facebook auth using the amazing passport.js library and use-express-middleware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published