File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ services:
3838 - |
3939 set -euxo pipefail
4040
41+ # fix for Docker Desktop 4.42.1 based on https://github.com/keycloak/keycloak/discussions/12155
42+ /opt/keycloak/bin/kcadm.sh update --server http://keycloak:${KEYCLOAK_HTTP_PORT} --realm master --user admin --password admin realms/master -s sslRequired=NONE
43+ /opt/keycloak/bin/kcadm.sh update --server http://keycloak:${KEYCLOAK_HTTP_PORT} --realm cryptomator --user admin --password admin realms/cryptomator -s sslRequired=NONE
44+
4145 # enable direct access grants in client cryptomator and cryptomatorhub for integration testing and manual exploration
4246 CLIENT_ID=`/opt/keycloak/bin/kcadm.sh get clients --server http://keycloak:${KEYCLOAK_HTTP_PORT} --realm cryptomator --user admin --password admin --fields id -q clientId=cryptomator | grep "id" | sed -e 's/.*"id" : //g' | sed -e 's/"//g'`
4347 /opt/keycloak/bin/kcadm.sh update clients/$$CLIENT_ID --server http://keycloak:${KEYCLOAK_HTTP_PORT} --realm cryptomator --user admin --password admin -s "directAccessGrantsEnabled=true"
@@ -46,6 +50,7 @@ services:
4650 # allow redirect URI from localhost for "attended" mode for client cryptomatorhub, i.e. dev wants to interact directly with the running setup
4751 CLIENT_ID_CRYPTOMATORHUB=`/opt/keycloak/bin/kcadm.sh get clients --server http://keycloak:${KEYCLOAK_HTTP_PORT} --realm cryptomator --user admin --password admin --fields id -q clientId=cryptomatorhub | grep "id" | sed -e 's/.*"id" : //g' | sed -e 's/"//g'`
4852 /opt/keycloak/bin/kcadm.sh update clients/$$CLIENT_ID_CRYPTOMATORHUB --server http://keycloak:${KEYCLOAK_HTTP_PORT} --realm cryptomator --user admin --password admin -s 'redirectUris=["http://localhost:${HUB_PORT}/*"]'
53+
4954 depends_on :
5055 keycloak :
5156 condition : service_healthy
You can’t perform that action at this time.
0 commit comments