diff --git a/templates/nextcloud-config.yaml b/templates/nextcloud-config.yaml
index 07aa4867779ac4ce1fe8e545bf7404928bc322f1..dd143590d3463ff819221cd84c43f2dbe18421a1 100644
--- a/templates/nextcloud-config.yaml
+++ b/templates/nextcloud-config.yaml
@@ -30,7 +30,7 @@ data:
       "apps": {
         "sociallogin": {
           "auto_create_groups": "1",
-           "custom_oidc_providers": "[{\"name\":\"oas\",\"title\":\"OpenAppStack\",\"authorizeUrl\":\"https:\\\/\\\/{{ .Values.sociallogin.server_name }}\\\/oauth2\\\/auth\",\"tokenUrl\":\"https:\\\/\\\/{{ .Values.sociallogin.server_name}}\\\/oauth2\\\/token\",\"userInfoUrl\":\"https:\\\/\\\/{{ .Values.sociallogin.server_name }}\\\/userinfo\",\"logoutUrl\":\"\",\"clientId\":\"{{ .Values.sociallogin.client_id }}\",\"clientSecret\":\"{{ .Values.sociallogin.client_secret }}\",\"scope\":\"openid profile email openappstack_roles\",\"groupsClaim\":\"{{ .Values.sociallogin.groups_claim }}\",\"style\":\"\",\"defaultGroup\":\"\",\"groupMapping\":{\"admin\":\"admin\"}}]",
+           "custom_oidc_providers": "[{\"name\":\"oas\",\"title\":\"OpenAppStack\",\"authorizeUrl\":\"https:\\\/\\\/{{ .Values.sociallogin.server_name }}\\\/oauth2\\\/auth\",\"tokenUrl\":\"https:\\\/\\\/{{ .Values.sociallogin.server_name}}\\\/oauth2\\\/token\",\"userInfoUrl\":\"https:\\\/\\\/{{ .Values.sociallogin.server_name }}\\\/userinfo\",\"logoutUrl\":\"\",\"clientId\":\"{{ .Values.sociallogin.client_id }}\",\"clientSecret\":\"{{ .Values.sociallogin.client_secret | default "" }}\",\"scope\":\"openid profile email openappstack_roles\",\"groupsClaim\":\"{{ .Values.sociallogin.groups_claim }}\",\"style\":\"\",\"defaultGroup\":\"\",\"groupMapping\":{\"admin\":\"admin\"}}]",
            "update_profile_on_login": "1"
         }
       }
diff --git a/values-local.yaml.example b/values-local.yaml.example
index 2930669bd5be8db4076cf703c4aa71a3c9a86b09..73243a3f6302b2b876a4568ee6786d342617fc23 100644
--- a/values-local.yaml.example
+++ b/values-local.yaml.example
@@ -43,6 +43,15 @@ rabbitmq:
   rabbitmq:
     password: Set a password for rabbitmq here
 
+# apps controls which apps will be installed and enabled in nextcloud
+apps:
+  - name: sociallogin
+    # apps[0].enabled needs to be set to true if you want to enable login via an external
+    # oauth server. In that case you need to configure all the values in `sociallogin`
+    enabled: false
+  - name: onlyoffice
+    enabled: true
+
 # sociallogin enables login via oAuth/Open-ID Connect
 sociallogin:
   # sociallogin.server_name is the FQDN of you oAuth server. The oAuth server needs to