9d6a006045
Plaid ClientId/Secret are now stored per-user in the database (encrypted) instead of in appsettings.json. Users enter their own Plaid developer credentials in the Settings > Bank Connections tab. - New BankSyncSettings model (1:1 with User) for encrypted credentials - PlaidSyncProvider is now stateless, receives credentials per-call - Settings UI shows a credentials card with save form - Connect via Plaid button disabled until credentials are configured - Removed Plaid section from appsettings.json Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
773 B
JSON
32 lines
773 B
JSON
{
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Host=localhost;Port=5433;Database=purrse;Username=purrse;Password=purrse_dev"
|
|
},
|
|
"Jwt": {
|
|
"Key": "PurrseDefaultSecretKey_ChangeInProduction_AtLeast32Chars!",
|
|
"Issuer": "Purrse",
|
|
"Audience": "Purrse"
|
|
},
|
|
"Cors": {
|
|
"Origins": [ "http://localhost:5173", "http://localhost:9080" ]
|
|
},
|
|
"Plugins": {
|
|
"Path": "plugins"
|
|
},
|
|
"Imports": {
|
|
"WatchPath": "imports"
|
|
},
|
|
"BankSync": {
|
|
"EncryptionKey": "CHANGE_ME_32_CHAR_KEY_FOR_AES256!",
|
|
"DefaultSyncIntervalMinutes": 360,
|
|
"BackgroundCheckIntervalMinutes": 15
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.EntityFrameworkCore": "Warning"
|
|
}
|
|
}
|
|
}
|