-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.appsettings.json
62 lines (62 loc) · 1.71 KB
/
example.appsettings.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
/*
* Example appsettings file. Customize the settings and rename to appsettings.json for the primary settings for PalaverCore for
* all environments.
* See example.appsettings.Environment.json for configuring sensitive or environment specific options, they will over-ride any
* values specified in this file.
*/
{
"urls": "http://*:5001/",
"SiteRoot": "/Palaver",
"CacheTemplates": true,
"ConnectionStrings": {
"Palaver": "User ID=<user>;Password=<password>;Host=<postgres server>;Port=<postgres port>;Database=<palaver db>;Pooling=true;"
},
"IdentityOptions": {
"Cookies": {
"ApplicationCookie": {
"CookieName": "PalaverCore",
"ExpireTimeSpan": "150.0:00:00"
}
},
"SignIn": {
"RequireConfirmedEmail": true
},
"Password": {
"RequiredLength": 12,
"RequireDigit": true,
"RequireUppercase": true,
"RequireLowercase": true,
"RequireNonAlphanumeric": true
},
"Lockout": {
"DefaultLockoutTimeSpan": "00:00:15",
"MaxFailedAccessAttempts": 5,
"AllowedForNewUsers": false
}
},
"GoogleOptions": {
"ClientId": "<Google oAuth clientid>",
"ClientSecret": "<Google oAuth ClientSecret>"
},
"FaceBookOptions": {
"AppId": "<FaceBook oAuth AppId>",
"AppSecret": "<FaceBook oAuth AppSecret",
"Fields": [ "<list of fields to retrieve from FaceBook>" ],
"SendAppSecretProof": "<FaceBook oAuth AppSecretProof>"
},
"Smtp": {
"Server": "localhost",
"Port": 25,
"Username": "",
"Password": "",
"RequireTls": false,
"FromName": "Palaver",
"FromAddress": "noreply@noreply.com"
},
"Logging": {
"IncludeScopes": true,
"LogLevel": {
"Default": "Error"
}
}
}