Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1107,6 +1107,7 @@ services:
KC_BOOTSTRAP_ADMIN_PASSWORD: admin
KEYCLOAK_PROXY_ADDRESS_FORWARDING: "true"
KEYCLOAK_FRONTEND_URL: "${PROTOCOL:-http}://keycloak${DOMAIN_SUFFIX}"
KC_SPI_CONNECTIONS_HTTP_CLIENT_DEFAULT_DISABLE_TRUST_MANAGER: "true"
KC_PROXY: edge

av:
Expand Down
16 changes: 10 additions & 6 deletions docs/services/sso.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@

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

- Keycloak is using LDAP as a user backend (make sure the LDAP container is also running)
- If you have ssl enabled please modify the example realm config accordingly in `docker/configs/keycloak/Example-realm.json`
- `occ user_oidc:provider Keycloak -c nextcloud -s 09e3c268-d8bc-42f1-b7c6-74d307ef5fde -d http://keycloak.local/auth/realms/Example/.well-known/openid-configuration`
- <http://keycloak.local/auth/realms/Example/.well-known/openid-configuration>
- nextcloud
- 09e3c268-d8bc-42f1-b7c6-74d307ef5fde
```
docker compose up -d ldap
docker compose up -d nextcloud keycloak
```

# Keycloak is using LDAP as a user backend. Make sure the LDAP container is also running.
- If you have ssl enabled, replace `http://nextcloud.local` with `https://nextcloud.local` in the example realm config at `docker/keycloak/Example-realm.json`
- 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`
- Keycloak admin interface: <http://keycloak.local/auth/realms/Example/.well-known/openid-configuration> (admin:admin)
- Nextcloud client credentials: user: nextcloud // password: 09e3c268-d8bc-42f1-b7c6-74d307ef5fde

## Authentik

Expand Down
Loading