In this folder is some additional configuration that can be useful for local development. None of this should be deployed directly to production.
These steps should work for spinning up keycloak for use with cBioPortal.
- Navigate to the Root folder and run keycloak instance:
./init.sh
docker compose -f docker-compose.yml -f dev/keycloak/keycloak.yml up keycloak
- In another terminal, retrieve the SAML2 IDP metadata xml file:
wget http://localhost:8081/auth/realms/cbio/protocol/saml/descriptor -O ./dev/keycloak/idp-metadata.xml
- Restart keycloak instance together with cBioPortal
docker compose -f docker-compose.yml -f dev/keycloak/keycloak.yml up
- Access cBioPortal at localhost:8080. The login credentials are
testuser:P@assword1
(they can be found in keycloak-config.json).