-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-oauth-default.js
47 lines (36 loc) · 976 Bytes
/
config-oauth-default.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
var config = {
twitter: {
request: 'https://api.twitter.com/oauth/request_token',
access: 'https://api.twitter.com/oauth/access_token',
signature: 'HMAC-SHA1',
version: '1.0',
callback: 'http://localhost:8080/oauth/twitter/callback',
consumerKey: '',
consumerSecret: ''
},
github: {
id: '',
secret: '',
base: 'https://github.com/login',
version: '2.0',
callback: 'http://localhost:8080/oauth/github/callback'
},
facebook: {
id: '',
secret: '',
base: 'https://graph.facebook.com',
version: '2.0',
callbackAuthen: 'http://localhost:8080/oauth/facebook/authen'
},
menome: {
id: '',
secret: '',
base: 'https://menomeapi.sunburn.in.th/1/',
authorize: '/auth/authorize',
access_token: '/auth/token?grant_type=authorization_code',
version: '2.0',
callback: 'http://localhost:8080/oauth/menome/callback'
},
key: ''
}
exports.config = config;