This repository is a template for all the repositories that will be used at the hackathon 2024 part of the symposium.
This section will highlight the instructions needed for this repository
- Keycloak
docker run -d --name keycloak -p 8080:8080
-e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin
quay.io/keycloak/keycloak:23.0.4 start-dev
- Nextcloud
docker run -d -p 8086:80 -v nextcloud:/var/www.html nextcloud
FInalize the installation of Keycloak
(http://<ip-address>:8080)
and Nextcloud(http://<ip-address>:8086)
- Add
'allow_local_remote_servers' => true
to the variable$CONFIG
innextcloud/config/config.php
- Add Keycloak's domain or the IP address (and port number) to
'trusted_domains'
array innextcloud/config/config.php
- Install
Social Logins
- Open the social logins app on Netxcloud
- Complete the form Custom Oauth2
- Use the information found in Keycloak
Realm Settings -> Endpoints (OpenId Endpoint Configurations)
- For scope use :
openid email profile
- Use the information found in Keycloak
git clone https://github.com/digitharium/hiami-nextcloud-keycloak.git
cd hiami-nextcloud-keycloak/nextcloud-keycloak-integration
docker compose build --progress=plain nextcloud
docker compose build --progress=plain keycloak
docker compose up --force-recreate -V