nextcloud: allow OIDC auto user creation
This commit is contained in:
parent
16dc0e16f1
commit
58bc646621
@ -56,7 +56,7 @@ data:
|
|||||||
'oidc_login_scope' => 'openid profile email',
|
'oidc_login_scope' => 'openid profile email',
|
||||||
'oidc_login_unique_id' => 'preferred_username',
|
'oidc_login_unique_id' => 'preferred_username',
|
||||||
'oidc_login_use_pkce' => true,
|
'oidc_login_use_pkce' => true,
|
||||||
'oidc_login_disable_registration' => true,
|
'oidc_login_disable_registration' => false,
|
||||||
'oidc_login_create_groups' => false,
|
'oidc_login_create_groups' => false,
|
||||||
# External storage for user data should be configured to Asteria via the External Storage app (admin UI),
|
# 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.
|
# keeping the astreae PVC for app internals only.
|
||||||
|
|||||||
@ -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_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_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_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() {
|
ensure_mime_defaults() {
|
||||||
cfg_dir="/var/www/html/resources/config"
|
cfg_dir="/var/www/html/resources/config"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user