-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
57 lines (55 loc) · 1.21 KB
/
config.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
48
49
50
51
52
53
54
55
56
57
'use strict';
var config = {
port: 3000,
apiBaseURL: 'http://127.0.0.1:3000/agora/api/v1/members/',
realm: 'mycompany',
membersApiPageSize: 100,
clients: {
cleaner: {
secret: 'mysecret',
company: 'A'
},
test: {
secret: 'secretString',
company: 'B'
}
},
github: {
clientId: '',
clientSecret: '',
adminToken: '',
callbackURL: 'http://localhost:3000/agora/auth/github/callback',
orga: 'ouhyeah'
},
email: {
host: '',
port: 25,
from: '[email protected]',
subject: 'A new member has joined github',
text: 'The github user {username} with validated email {email} has been invited to join your team {team} at https://github.com/{orga}'
},
companies: {
TID: {
team: 'Telefonica I+D',
adminEmail: '',
allowedDomains: ['gmail.com', 'telefonica.com'],
isUserValidService: {
url: '',
clientId: '',
clientSecret: ''
}
},
Tokbox: {
team: 'Tokbox',
adminEmail: '',
allowedDomains: ['tokbox.com']
},
MailCo: {
team: 'Otro',
adminEmail: '',
allowedDomains: ['gmail.com']
}
},
userDatabase: './videos'
};
module.exports = config;