-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.example.js
57 lines (55 loc) · 1.47 KB
/
config.example.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
const auth = {
oauth: {
twitter: {
key: "",
secret: "",
callbackUrl: "/auth/signup/twitter/callback",
},
github: {
key: "",
secret: "",
callbackUrl: "/auth/signup/github/callback",
},
google: {
key: "",
secret: "",
callbackUrl: "/auth/signup/google/callback/",
},
facebook: {
key: "",
secret: "",
callbackUrl: "/auth/signup/facebook/callback/",
},
},
"loginAttempts": {
forIp: 50,
forIpAndUser: 7,
logExpiration: '20m'
},
"authTemplate": 'auth.jade',
"appUrl": '/app',
"mainRoute": "auth",
"companyName": "Bryan Haakman",
"projectName": "Geist",
"version": "0.1",
"systemEmail": "[email protected]",
"supportEmail": "[email protected]",
"cryptoKey": "TODO change",
"sendWelcomeEmail": false,
"requireAccountVerification": true,
"smtp": {
from: {
name: process.env.SMTP_FROM_NAME || 'Geist team',
address: process.env.SMTP_FROM_ADDRESS || '[email protected]'
},
credentials: {
user: process.env.SMTP_USERNAME || 'user',
password: process.env.SMTP_PASSWORD || 'password',
host: process.env.SMTP_HOST || '192.168.1.1',
ssl: false,
tls: true,
port: 25,
}
},
}
module.exports = auth