website/integrations: NextCloud => Nextcloud (#3714)
Signed-off-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Daniel <mail@danielkesselberg.de>
This commit is contained in:
parent
93e90f8f50
commit
13c0b917c3
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
title: NextCloud
|
||||
title: Nextcloud
|
||||
---
|
||||
|
||||
<span class="badge badge--secondary">Support level: Community</span>
|
||||
|
||||
## What is NextCloud
|
||||
## What is Nextcloud
|
||||
|
||||
From https://en.wikipedia.org/wiki/Nextcloud
|
||||
|
||||
|
@ -13,7 +13,7 @@ Nextcloud is a suite of client-server software for creating and using file hosti
|
|||
:::
|
||||
|
||||
:::warning
|
||||
This setup only works, when NextCloud is running with HTTPS enabled. See [here](https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/reverse_proxy_configuration.html?highlight=overwriteprotocol#overwrite-parameters) on how to configure this.
|
||||
This setup only works, when Nextcloud is running with HTTPS enabled. See [here](https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/reverse_proxy_configuration.html?highlight=overwriteprotocol#overwrite-parameters) on how to configure this.
|
||||
:::
|
||||
|
||||
:::warning
|
||||
|
@ -38,9 +38,9 @@ Create an application in authentik and note the slug you choose, as this will be
|
|||
|
||||
You can of course use a custom signing certificate, and adjust durations.
|
||||
|
||||
## NextCloud
|
||||
## Nextcloud
|
||||
|
||||
In NextCloud, ensure that the `SSO & SAML Authentication` app is installed. Navigate to `Settings`, then `SSO & SAML Authentication`.
|
||||
In Nextcloud, ensure that the `SSO & SAML Authentication` app is installed. Navigate to `Settings`, then `SSO & SAML Authentication`.
|
||||
|
||||
Set the following values:
|
||||
|
||||
|
@ -69,13 +69,13 @@ See https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/r
|
|||
|
||||
Create a group for each different level of quota you want users to have. Set a custom attribute, for example called `nextcloud_quota`, to the quota you want, for example `15 GB`.
|
||||
|
||||
Afterwards, create a custom SAML Property Mapping with the name `SAML NextCloud Quota`.
|
||||
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).
|
||||
|
||||
## Admin Group
|
||||
|
||||
To give authentik users admin access to your NextCloud instance, you need to create a custom Property Mapping that maps an authentik group to "admin". It has to be mapped to "admin" as this is static in NextCloud and cannot be changed.
|
||||
To give authentik users admin access to your Nextcloud instance, you need to create a custom Property Mapping that maps an authentik group to "admin". It has to be mapped to "admin" as this is static in Nextcloud and cannot be changed.
|
||||
|
||||
Create a SAML Property mapping with the SAML Name "http://schemas.xmlsoap.org/claims/Group" and this expression:
|
||||
|
||||
|
|
Reference in a new issue