{ "production": { "loglevel": "error", "db": { "dialect": "sqlite", "storage": "{{var_hedgedoc_database_path}}" }, "sessionSecret": "{{var_hedgedoc_session_secret}}", "host": "localhost", "allowOrigin": [ "localhost" ], "domain": "{{var_hedgedoc_domain}}", "urlAddPort": false, "protocolUseSSL": true, {% if var_hedgedoc_oauth2_enable %} "oauth2": { "providerName": "{{var_hedgedoc_oauth2_provider_name}}", "clientID": "{{var_hedgedoc_oauth2_client_id}}", "clientSecret": "{{var_hedgedoc_oauth2_client_secret}}", "scope": "openid email profile", "userProfileUsernameAttr": "sub", "userProfileDisplayNameAttr": "name", "userProfileEmailAttr": "email", "userProfileURL": "{{var_hedgedoc_oauth2_user_profile_url}}", "tokenURL": "{{var_hedgedoc_oauth2_token_url}}", "authorizationURL": "{{var_hedgedoc_oauth2_authorization_url}}" }, "email": false, "allowEmailRegister": false, {% else %} "email": true, "allowEmailRegister": true, {% endif %} "allowAnonymous": false, "allowAnonymousEdits": true, "allowFreeURL": true, "requireFreeURLAuthentication": true, "defaultPermission": "editable" } }