Skip to content

Application Configuration

Otmar Nezdařil edited this page Aug 19, 2025 · 2 revisions

JWT (Authentication)

Settings for issuing and validating JSON Web Tokens.

  • Key – Secret string used for signing tokens (Recommend at least 32 bytes (256 bits))
  • Issuer – Identifier of your API as the token issuer.
  • Audience – The intended recipient of the token (e.g., frontend app).
  • ExpirationInMinutes – Token lifetime in minutes (e.g., 60 = 1 hour).

Toggl Integration

Configuration for connecting to the Toggl Track API.

  • BaseUrl – API endpoint for Toggl (e.g., https://api.track.toggl.com/api/v9).

Fakturoid Integration

Configuration for connecting to the Fakturoid API.

  • UserAgent – Identifier for your app in requests (AppName (email@example.com)).
  • BaseUrl – API endpoint for Fakturoid (usually https://app.fakturoid.cz/api/v3).

Database Connection (ConnectionStrings)

The ConnectionStrings section configures how the application connects to the SQL Server database.

Example

"ConnectionStrings": {
  "MergeDayDb": "Server=localhost,1433;Initial Catalog=MergeDayDb;User ID=sa;Password=Passw0rd_Strong_123!;TrustServerCertificate=True;"
}

Clone this wiki locally