galaeth-draft/Galaeth.ApiServer/appsettings.json
2024-11-17 09:31:01 +00:00

42 lines
971 B
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Warning"
}
},
"Database": {
"ConnectionString": ""
},
"PwdHash": {
"DegreeOfParallelism": 4,
"NumberOfIterations": 3,
"MemoryToUseKb": 16,
"SaltSize": 64,
"HashSize": 128
},
"InitialUser": {
"Username": "admin",
"Email": "admin@changeme.com",
"Password": "Change!Me1234"
},
"EmailDomainBlacklist": {
"Enabled": true,
"MasterList": "https://raw.githubusercontent.com/disposable/disposable-email-domains/refs/heads/master/domains.txt"
},
"Registration": {
"RequireEmailValidation": false
},
"JWT": {
"SecretKey": "your-secret-key",
"Issuer": "your-issuer",
"Audience": "your-audience",
"AccessTokenExpiration": "5 mins",
"RefreshTokenExpiration": "3 days",
"ValidateIssuer": true,
"ValidateAudience": true
},
"AllowedHosts": "*"
}