Skip to content

Various examples of OAuth implementation without using previous OAuth libraries.

Notifications You must be signed in to change notification settings

didrio/OAuth-With-Express

Repository files navigation

OAuth With Express

(Also Without Passport)

Six Links To Various OAuth Services

To get all the OAuth links working, you'll have to create a keys.js file in the root directory with your own ID's and secrets:

const keys = {
  GITHUB_ID: '',
  GITHUB_SECRET: '',
  GOOGLE_ID: '',
  GOOGLE_SECRET: '',
  INSTAGRAM_ID: '',
  INSTAGRAM_SECRET: '',
  FACEBOOK_ID: '',
  FACEBOOK_SECRET: '',
  LINKEDIN_ID: '',
  LINKEDIN_SECRET: '',
  REDDIT_ID: '',
  REDDIT_SECRET: ''
};

module.exports = keys;

I tried implementing Twitter and Tumblr but they seemed to be much more difficult to get working. If anyone wants to contribute that'd be great!

About

Various examples of OAuth implementation without using previous OAuth libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages