-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.example.json
62 lines (62 loc) · 1.48 KB
/
config.example.json
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
58
59
60
61
62
{
"api": {
"http-addr": ":8081",
"allowed-origins": "https://authenticator.local",
"cookie-domain": "authenticator.local",
"cookie-max-age": 605800,
"debug": false
},
"pg": {
"conn-string": "user=auth password=swordfish host=postgres port=5432 dbname=authenticator_test connect_timeout=3 sslmode=disable"
},
"redis": {
"conn-string": "redis://:swordfish@redis:6379/1"
},
"password": {
"min-length": 8,
"max-length": 1000
},
"otp": {
"code-length": 6,
"issuer": "authenticator.local",
"secret": {
"key": "9f0c6da662f018b58b04a093e2dbb2e1d8d54250",
"version": 1
}
},
"token": {
"refresh-expires-in": "360h",
"expires-in": "20m",
"issuer": "authenticator",
"secret": "secret"
},
"msgconsumer": {
"workers": 4
},
"webauthn": {
"max-devices": 5,
"display-name": "Authenticator",
"domain": "authenticator.local",
"request-origin": "https://authenticator.local"
},
"maillib": "sendgrid",
"twilio": {
"account-sid": "11768d65c6c3759f7920",
"token": "91551df20178afdbbf691b18504c9196ac6f2167",
"sms-sender": "+15555555555"
},
"sendgrid": {
"api-key": "DTfWjHgEO4cF7kjhCNbT6O2MpFY",
"from-addr": "[email protected]",
"from-name": "Support"
},
"mail": {
"server-addr": "localhost:8080",
"from-addr": "authenticator.local",
"auth": {
"username": "[email protected]",
"password": "swordfish",
"hostname": "[email protected]"
}
}
}