{
    "api": "{{ taiga_public_url }}/api/v1/",
    "eventsUrl": "{{ taiga_public_url | regex_replace('^http','ws') }}/events",
    "baseHref": "{{ (taiga_public_url | urlsplit('path') == '') | ternary('/', taiga_public_url | urlsplit('path')) }}",
    "eventsMaxMissedHeartbeats": 5,
    "eventsHeartbeatIntervalTime": 60000,
    "eventsReconnectTryInterval": 10000,
    "debug": false,
    "debugInfo": false,
    "defaultLanguage": "en",
    "themes": ["taiga"],
    "defaultTheme": "taiga",
    "defaultLoginEnabled": true,
    "publicRegisterEnabled": {{ taiga_user_registration | ternary('true', 'false') }},
    "feedbackEnabled": true,
    "supportUrl": "https://resources.taiga.io",
    "privacyPolicyUrl": null,
    "termsOfServiceUrl": null,
    "maxUploadFileSize": {{ taiga_max_upload_file_size * 1024 * 1024 }},
    "contribPlugins": [],
    "tagManager": { "accountId": null },
    "tribeHost": null,
    "enableAsanaImporter": false,
    "enableGithubImporter": false,
    "enableJiraImporter": false,
    "enableTrelloImporter": false,
    "gravatar": false,
{% if taiga_oidc_auth %}
    "openidAuth" : "{{ taiga_oidc_auth_url }}",
    "openidScope": "{{ taiga_oidc_scope }}",
    "openidName" : "{{ taiga_oidc_name }}",
    "openidClientId": "{{ taiga_oidc_client_id }}",
    "contribPlugins": [
      "/plugins/openid-auth/openid-auth.json"
    ],
{% endif %}
    "rtlLanguages": ["ar", "fa", "he"]
}
