Implement API security baseline (sys_user, JWT, audit fields, transactions, unique constraints) and Web real login with 401 handling. Document setup and development workflows in root, WmsLite.Api, and WmsLite.Web README files. Co-authored-by: Cursor <cursoragent@cursor.com>
33 lines
814 B
JSON
33 lines
814 B
JSON
{
|
|
"Database": {
|
|
"CodeFirst": {
|
|
"Enabled": false
|
|
},
|
|
"Migrations": {
|
|
"Enabled": true,
|
|
"ConnectionStringName": "PostgreSql"
|
|
}
|
|
},
|
|
"HttpLogging": {
|
|
"Enabled": true,
|
|
"PersistToDatabase": true,
|
|
"PathsOmittingResponseBody": [ "paged-list", "pagedlist" ],
|
|
"PathsOmittingRequestBody": [ "/api/Auth/login" ],
|
|
"SensitiveFieldNames": [ "password", "token", "authorization", "accessToken", "refreshToken" ]
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"WmsLite.Api.Infrastructure.HttpLogging.HttpRequestResponseLoggingMiddleware": "Information"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Jwt": {
|
|
"Issuer": "WmsLite",
|
|
"Audience": "WmsLite.Web",
|
|
"Key": "",
|
|
"ExpiresMinutes": 480
|
|
}
|
|
}
|