Skip to content

Instantly share code, notes, and snippets.

@JaosnHsieh
Created January 16, 2017 13:05
Show Gist options
  • Save JaosnHsieh/811a889e1c758f297a046a274b511f63 to your computer and use it in GitHub Desktop.
Save JaosnHsieh/811a889e1c758f297a046a274b511f63 to your computer and use it in GitHub Desktop.
var ids = {
github: {
clientID: 'Go github.com , click your avatar -> settings ->oauth application->set callback and application url ->',
clientSecret: '*****',
callbackURL: "http://localhost:3000/login/auth/github/callback"
},
google:{
clientID: 'Google API console -> create a project -> create your credentails -> set callback and application url ->enable google+ api',
clientSecret: '******',
callbackURL: "http://localhost:3000/login/auth/google/callback"
},
facebook:{
clientID: 'Go https://developers.facebook.com',
clientSecret: '*******',
callbackURL: "http://localhost:3000/login/auth/facebook/callback"
},
};
module.exports = ids;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment