Experimental for now.
Project is being tested for using a Matrix Homeserver with Keycloak Authentication at Agir Low-Tech
docker build \
--build-arg BASE_IMAGE_TAG="8u212-b04-jdk-stretch" \
--build-arg SBT_VERSION="1.3.10" \
--build-arg SCALA_VERSION="2.13.1" \
--build-arg USER_ID=1001 \
--build-arg GROUP_ID=1001 \
-t scala-sbt-rauthprovider \
github.com/hseeberger/scala-sbt.git#:debian
docker build -t rauthprovider --no-cache .
docker run -it --rm --name rauthprovider --env-file ".env" -p "8003:8080" rauthprovider
- Open your Realm at
https://YOUR.DOMAIN/auth/admin/REALM/console/#/realms/REALM
- Go to
Clients > Create
- Select
openid-connect
- Change
Access-Type
tobearer-only
- Copy/Paste your
client_id
andclient_secret
into proper environment variables in your.env
file (see.env.template
for an example) or directly indocker-compose.yml
- Edit your
.env
file accordingly - You can copy paste template with
cp .env.template .env
Run your container with docker-compose up -d
Stop with docker-compose down
- Synapse REST Password provider : allows to validate a password for a given username and return a user profile using an existing backend (Keycloak in our case, via OpenID)