Skip to content

Commit 86ce6a0

Browse files
committed
docs: update and slightly improve keycloak integration docs
Signed-off-by: Jonas <jonas@freesources.org>
1 parent c5782a4 commit 86ce6a0

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

‎docker-compose.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,7 @@ services:
11071107
KC_BOOTSTRAP_ADMIN_PASSWORD: admin
11081108
KEYCLOAK_PROXY_ADDRESS_FORWARDING: "true"
11091109
KEYCLOAK_FRONTEND_URL: "${PROTOCOL:-http}://keycloak${DOMAIN_SUFFIX}"
1110+
KC_SPI_CONNECTIONS_HTTP_CLIENT_DEFAULT_DISABLE_TRUST_MANAGER: "true"
11101111
KC_PROXY: edge
11111112

11121113
av:

‎docs/services/sso.md‎

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@
33

44
## [Keycloak](https://www.keycloak.org/)
55

6-
- Keycloak is using LDAP as a user backend (make sure the LDAP container is also running)
7-
- If you have ssl enabled please modify the example realm config accordingly in `docker/configs/keycloak/Example-realm.json`
8-
- `occ user_oidc:provider Keycloak -c nextcloud -s 09e3c268-d8bc-42f1-b7c6-74d307ef5fde -d http://keycloak.local/auth/realms/Example/.well-known/openid-configuration`
9-
- <http://keycloak.local/auth/realms/Example/.well-known/openid-configuration>
10-
- nextcloud
11-
- 09e3c268-d8bc-42f1-b7c6-74d307ef5fde
6+
```
7+
docker compose up -d ldap
8+
docker compose up -d nextcloud keycloak
9+
```
10+
11+
# Keycloak is using LDAP as a user backend. Make sure the LDAP container is also running.
12+
- If you have ssl enabled, replace `http://nextcloud.local` with `https://nextcloud.local` in the example realm config at `docker/keycloak/Example-realm.json`
13+
- Configure Keycloak as provider: `occ user_oidc:provider Keycloak -c nextcloud -s 09e3c268-d8bc-42f1-b7c6-74d307ef5fde -d http://keycloak.local/realms/Example/.well-known/openid-configuration`
14+
- Keycloak admin interface: <http://keycloak.local/auth/realms/Example/.well-known/openid-configuration> (admin:admin)
15+
- Nextcloud client credentials: user: nextcloud // password: 09e3c268-d8bc-42f1-b7c6-74d307ef5fde
1216

1317
## Authentik
1418

0 commit comments

Comments
 (0)