From a81c847392e58a2164a690cb041a01a623067542 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 22 Jun 2021 13:00:48 +0200 Subject: [PATCH] website/docs: fix call to group_attributes for nextcloud Signed-off-by: Jens Langhammer --- website/docs/integrations/services/nextcloud/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/integrations/services/nextcloud/index.md b/website/docs/integrations/services/nextcloud/index.md index 4d18f5671..e5123f61b 100644 --- a/website/docs/integrations/services/nextcloud/index.md +++ b/website/docs/integrations/services/nextcloud/index.md @@ -56,7 +56,7 @@ Under Attribute mapping, set these values: - Attribute to map the users groups to.: `http://schemas.xmlsoap.org/claims/Group` :::note -If Nextcloud is behind a reverse proxy you may need to force Nextcloud to use HTTPS. +If Nextcloud is behind a reverse proxy you may need to force Nextcloud to use HTTPS. To do this you will need to add the line `'overwriteprotocol' => 'https'` to `config.php` in the Nextcloud `config\config.php` file See https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/reverse_proxy_configuration.html#overwrite-parameters for additional information ::: @@ -67,7 +67,7 @@ Create a group for each different level of quota you want users to have. Set a c Afterwards, create a custom SAML Property Mapping with the name `SAML NextCloud Quota`. Set the *SAML Name* to `nextcloud_quota`. -Set the *Expression* to `return user.group_attributes.get("nextcloud_quota", "1 GB")`, where `1 GB` is the default value for users that don't belong to another group (or have another value set). +Set the *Expression* to `return user.group_attributes().get("nextcloud_quota", "1 GB")`, where `1 GB` is the default value for users that don't belong to another group (or have another value set). ## Admin Group