From 58bc646621ecd3549192815c191687707f60d400 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Wed, 7 Jan 2026 00:12:21 -0300 Subject: [PATCH] nextcloud: allow OIDC auto user creation --- services/nextcloud/configmap.yaml | 2 +- services/nextcloud/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/nextcloud/configmap.yaml b/services/nextcloud/configmap.yaml index 45f5665..c49a7b4 100644 --- a/services/nextcloud/configmap.yaml +++ b/services/nextcloud/configmap.yaml @@ -56,7 +56,7 @@ data: 'oidc_login_scope' => 'openid profile email', 'oidc_login_unique_id' => 'preferred_username', 'oidc_login_use_pkce' => true, - 'oidc_login_disable_registration' => true, + 'oidc_login_disable_registration' => false, 'oidc_login_create_groups' => false, # External storage for user data should be configured to Asteria via the External Storage app (admin UI), # keeping the astreae PVC for app internals only. diff --git a/services/nextcloud/deployment.yaml b/services/nextcloud/deployment.yaml index bbdd824..c28f23a 100644 --- a/services/nextcloud/deployment.yaml +++ b/services/nextcloud/deployment.yaml @@ -71,7 +71,7 @@ spec: su -s /bin/sh www-data -c "php /var/www/html/occ config:system:set oidc_login_client_secret --value='${OIDC_CLIENT_SECRET}'" su -s /bin/sh www-data -c "php /var/www/html/occ config:system:set oidc_login_auto_redirect --type=boolean --value=true" su -s /bin/sh www-data -c "php /var/www/html/occ config:system:set oidc_login_hide_password_form --type=boolean --value=true" - su -s /bin/sh www-data -c "php /var/www/html/occ config:system:set oidc_login_disable_registration --type=boolean --value=true" + su -s /bin/sh www-data -c "php /var/www/html/occ config:system:set oidc_login_disable_registration --type=boolean --value=false" } ensure_mime_defaults() { cfg_dir="/var/www/html/resources/config"