Skip to content

Configuration

Configuration is in appsettings.json at the project root (not wwwroot/).

{
  "IdentityApi": { "BaseUrl": "https://localhost:5001", "Timeout": "00:00:30" },
  "Authentication": {
    "TokenStorageKey": "...",
    "RefreshTokenStorageKey": "...",
    "TokenExpirationBufferMinutes": 5
  },
  "ConnectSoft": { "Ui": { "theme": "...", "culture": "...", "a11y": {} } },
  "FeatureFlags": {
    "EnableTwoFactorAuthentication": true,
    "EnableSocialLogin": false,
    "EnablePasswordless": false
  }
}

Notes

  • IdentityApi.BaseUrl points at the ConnectSoft Identity backend - all auth/password/profile/2FA calls go there.
  • Authentication keys drive TokenStorageService and the refresh buffer used by ISessionRefreshService.
  • ConnectSoft.Ui configures theme/culture/accessibility.
  • FeatureFlags toggle 2FA, social login, and passwordless flows.
  • See the repo's docs/Configuration.md and docs/API-Integration.md for backend contract details.

See also