{
  "Serilog": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft.AspNetCore": "Warning",
        "Microsoft.EntityFrameworkCore": "Warning",
        "Npgsql": "Warning"
      }
    },
    "WriteTo": [
      {
        "Name": "Console",
        "Args": {
          "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {SourceContext}: {Message:lj}{NewLine}{Exception}"
        }
      }
    ],
    "Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ]
  },
  "AllowedHosts": "*",
  "ConnectionStrings": {
    "Postgres": "Host=localhost;Port=5435;Database=familynido;Username=familynido;Password=familynido"
  },
  "Oidc": {
    "Authority": "",
    "ClientId": "",
    "ClientSecret": "",
    "Scopes": [ "openid", "profile", "email" ],
    "CallbackPath": "/signin-oidc",
    "SignedOutCallbackPath": "/signout-callback-oidc",
    "RequireHttpsMetadata": true
  },
  "Cors": {
    "AllowedOrigins": [ "http://localhost:4200" ]
  },
  "Family": {
    "DefaultName": "Mi familia",
    "DefaultTimeZone": "Europe/Madrid",
    "DefaultLocale": "es-ES",
    "AutoMigrate": true,
    "BootstrapFirstUserAsAdmin": true
  },
  "Calendar": {
    "GoogleClientId": "",
    "GoogleClientSecret": "",
    "OAuthRedirectUri": "https://localhost:5001/api/calendar/google/callback",
    "PostAuthRedirectPath": "/calendario/cuentas",
    "SyncInterval": "00:15:00",
    "FullSyncLookback": "90.00:00:00",
    "FullSyncLookahead": "365.00:00:00"
  }
}
