mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
add idp client section to docs
This commit is contained in:
parent
ec50788987
commit
fcf32a935b
22
docs/idp.md
22
docs/idp.md
|
@ -20,3 +20,25 @@ this means that, if an IdP volume is located inside a folder that is readable by
|
||||||
and likewise -- if the IdP volume is inside a folder that is only accessible by certain users, but the IdP volume is configured to allow access from unauthenticated users, then the contents of the volume will NOT be accessible until it is revived
|
and likewise -- if the IdP volume is inside a folder that is only accessible by certain users, but the IdP volume is configured to allow access from unauthenticated users, then the contents of the volume will NOT be accessible until it is revived
|
||||||
|
|
||||||
until this limitation is fixed (if ever), it is recommended to place IdP volumes inside an appropriate parent volume, so they can inherit acceptable permissions until their revival; see the "strategic volumes" at the bottom of [./examples/docker/idp/copyparty.conf](./examples/docker/idp/copyparty.conf)
|
until this limitation is fixed (if ever), it is recommended to place IdP volumes inside an appropriate parent volume, so they can inherit acceptable permissions until their revival; see the "strategic volumes" at the bottom of [./examples/docker/idp/copyparty.conf](./examples/docker/idp/copyparty.conf)
|
||||||
|
|
||||||
|
|
||||||
|
## Connecting webdav clients
|
||||||
|
|
||||||
|
If you use only idp and want to connect via rclone you have to adapt a few things.
|
||||||
|
The following steps are for Authelia, but should be easy adaptable to other IdPs and clients. There may be better/smarter ways to do this, but this is a known solution.
|
||||||
|
|
||||||
|
1. Add a rule for your domain and set it to one factor
|
||||||
|
```
|
||||||
|
rules:
|
||||||
|
- domain: 'sub.domain.tld'
|
||||||
|
policy: one_factor
|
||||||
|
```
|
||||||
|
2. After you created your rclone config find its location with `rclone config file` and add the headers option to it, change the string to `username:password` base64 encoded. Make sure to set the right url location, otherwise you will get a 401 from copyparty.
|
||||||
|
```
|
||||||
|
[servername-dav]
|
||||||
|
type = webdav
|
||||||
|
url = https://sub.domain.tld/u/user/priv/
|
||||||
|
vendor = owncloud
|
||||||
|
pacer_min_sleep = 0.01ms
|
||||||
|
headers = Proxy-Authorization,basic base64encodedstring==
|
||||||
|
```
|
Loading…
Reference in a new issue