-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.test.json
More file actions
111 lines (110 loc) · 3.13 KB
/
Copy pathconfig.test.json
File metadata and controls
111 lines (110 loc) · 3.13 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"store": {
"main": {
"host": "mysql-test",
"port": 3306,
"user": "sergio",
"password": "very_secure_password_for_tests",
"database": "my_auth_tests_db"
},
"rate_limiters_pool": {
"store": {
"host": "mysql-test",
"port": 3306,
"user": "sergio",
"database": "my_auth_tests_db",
"password": "very_secure_password_for_tests"
},
"dbName": "my_auth_tests_db"
}
},
"service": {
"Hmac": {
"sharedSecret": "1234567890",
"clientId": "1234",
"maxClockSkew": 300000
},
"proxy": {
"trust": true,
"ipToTrust": "172.20.5.4",
"server": "172.20.5.4"
},
"port": 10000,
"ipAddress": "0.0.0.0",
"clientIp": "172.20.5.4"
},
"password": {
"pepper": "test-pepper-secret-key-for-integration-tests",
"hashLength": 50,
"timeCost": 4,
"memoryCost": 262144
},
"botDetector": {
"enableBotDetector": false
},
"htmlSanitizer": {
"IrritationCount": 50,
"maxAllowedInputLength": 20000
},
"magic_links": {
"jwt_secret_key": "super_long_secret",
"expiresIn": "20m",
"domain": "http://localhost:10000",
"notificationEmail": {
"websiteName": "tekStuff",
"privacyPolicyLink": "https://localhost/privacy",
"contactPageLink": "https://localhost/contact",
"changePasswordPageLink": "https://localhost/accounts",
"loginPageLink": "https://localhost/accounts"
}
},
"providers": [
{
"name": "google",
"fields": {
"iss": "safeString?",
"azp": "safeString?",
"sub": "string",
"email": "safeString",
"email_verified": "boolean",
"name": "safeString",
"given_name": "safeString",
"picture": "safeString",
"family_name": "safeString?",
"locale": "safeString?"
}
},
{
"name": "github",
"useStandardProfile": true
},
{
"name": "x",
"useStandardProfile": true
},
{
"name": "linkedin",
"useStandardProfile": true
}
],
"jwt": {
"jwt_secret_key": "super_long_secret",
"access_tokens": {
"expiresIn": "15m",
"expiresInMs": 900000,
"algorithm": "HS512"
},
"refresh_tokens": {
"refresh_ttl": 259200000,
"domain": "localhost",
"MAX_SESSION_LIFE": 2592000000,
"maxAllowedSessionsPerUser": 5,
"byPassAnomaliesFor": 10800000
}
},
"email": {
"resend_key": "1234",
"email": "noreply@test.com"
},
"logLevel": "debug"
}