Skip to main content
Skip table of contents

Identity Background Service Konfiguration

Die folgende Appsettungs.json Datei wird im Installationsordern erstellt:

CODE
{
  "Serilog": {
    "Using": [],
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "OpenIddict.Client": "Error",
        "anyContact.Identity.Background": "Information",
        "Microsoft": "Error",
        "System": "Error"
      }
    },
    "WriteTo": [
      {
        "Name": "Console"
      },
      {
        "Name": "File",
        "Args": {
          "path": "C:\\Logging\\anyContact\\anyContact.Identity\\anyContact.Identity.Background.Service_.log",
          "rollingInterval": "Day",
          "retainedFileCountLimit": 15,
          "fileSizeLimitBytes": 50000000,
          "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Message:lj}{NewLine}{Exception}"
        }
      }
    ],
    "Enrich": [
      "FromLogContext",
      "WithMachineName",
      "WithProcessId",
      "WithThreadId"
    ],
    "Properties": {
      "ApplicationName": "anyContact.Identity.Server"
    }
  },
  "AppConfig": {
    "ImportIntervalMinutes": 60,
    "ClientSecret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "AuthorityUrl": "https://dev-vcc19.sncom.dev/anycontact.identity"
  },
  "ConnectionStrings": {
    "IdentityConnection": "Data Source=dev-vcc19;Initial Catalog=anyContact.Doku;Persist Security Info=False;Integrated Security=False;MultipleActiveResultSets=True;Connection Timeout=4;App=anyContact.Identity;TrustServerCertificate=True;User ID=sa;Password=xxxxxxx"
  }
}

Key

Beschreibung

AppConfig.ImportIntervalMinutes

Intervall in Minuten für den Benutzer-/Gruppenimport

ConnectionStrings.IdentityConnection

Die Datenbankverbindung des Services

AppConfig.ClientSecret

Das generierte Client-Secret für die Authentisierung

AppConfig.AuthorityUrl

Die URL des OAuth2/OpenID Server

Serilog.MinimumLevel

Das minimale Log-Level

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.