docs: update seafile docs (#4151)

This fixes an issue with the Seafile OIDC integration docs.
pull/4145/head^2
Philipp 2022-10-18 12:27:38 +02:00 committed by GitHub
parent a894e272cb
commit a471c31d74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 9 deletions

View File

@ -16,9 +16,9 @@ community: true
## Tested Versions
* [Authelia]
* [v4.35.5](https://github.com/authelia/authelia/releases/tag/v4.35.5)
* [v4.36.9](https://github.com/authelia/authelia/releases/tag/v4.36.9)
* [Seafile] Server
* 9.0.4
* [9.0.9](https://manual.seafile.com/changelog/server-changelog/#909-2022-09-22)
## Before You Begin
@ -39,7 +39,10 @@ This example makes the following assumptions:
To configure [Seafile] to utilize Authelia as an [OpenID Connect] Provider:
1. Edit your [Seafile] `seahub_settings.py` configuration file and add configure the following:
1. [Seafile] may require some dependencies such as `requests_oauthlib` to be manually installed.
See the [Seafile] documentation in the [see also](#see-also) section for more information.
2. Edit your [Seafile] `seahub_settings.py` configuration file and add configure the following:
```python
ENABLE_OAUTH = True
@ -55,12 +58,11 @@ OAUTH_SCOPE = [
"openid",
"profile",
"email",
"groups",
]
OAUTH_ATTRIBUTE_MAP = {
"id": (True, "preferred_username"),
"email": (True, "email"),
"name": (False, "name"),
"email": (False, "email"),
"id": (False, "not used"),
}
```