SSO with Keycloak and Matrix(Synapse)

I am trying to setup Keycloak as a IdP (Identity Provider) and Synapse as a service. I want to setup Keycloak as to present a SSO (single-sign-on) page.

I am running a Linux-Server. What is the correct configuration?

  • Keycloak will be running as localhost:8080 via docker:

docker run --name key -d -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin jboss/keycloak