-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthmagic.js
48 lines (48 loc) · 1.13 KB
/
authmagic.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
module.exports = {
"core": {
"name": "authmagic-timerange-stateless-core",
"source": "../authmagic-timerange-stateless-core"
},
"plugins": {
"authmagic-email-plugin": {
"name": "authmagic-email-plugin",
"source": "../authmagic-email-plugin"
}
},
"params": {
"authmagic-email-plugin": {
"isTest": true,
"mailer": {
"auth": {
"user": "",
"pass": ""
},
"host": "smtp.ethereal.email",
"port": 587,
"secure": false
},
"from": "AuthMailer",
"subject": "Your Magic Link"
},
"authmagic-timerange-stateless-core": {
"duration": 300,
"key": "310531d085be5e9c",
"sendKeyPlugin": "authmagic-email-plugin",
"expiresIn": "20m",
"refreshExpiresIn": "2d",
"securityKeyRule": {
length: 6,
charset: "numeric",
},
// for debugging and app validations
// username: securityCode
fixedSecurityCodes: {
"oleksandrknyga@gmail.com": "123456"
},
}
},
"port": 3000,
"theme": {
"name": "authmagic-link-email-phone-bootstrap-theme",
}
};