Better redirect url handeling

This commit is contained in:
janskiba
2023-11-30 13:46:08 +00:00
committed by juarez
parent 91903fae24
commit a3c7a002fd
3 changed files with 30 additions and 22 deletions

View File

@ -25,5 +25,5 @@ if [ "$ENABLE_DATASHIELD" == true ]; then
}]' >/tmp/bridgehead/opal-map/local.json
cp -f ./$PROJECT/modules/datashield-mappings.json /tmp/bridgehead/opal-map/central.json
chown -R bridgehead:docker /tmp/bridgehead/
generate_private_oidc_client "OIDC_CLIENT_SECRET" "$(generate_redirect_urls '/opal/*')"
add_private_oidc_redirect_url "/opal/*"
fi

View File

@ -3,5 +3,5 @@
if [ "$ENABLE_TEILER" == true ];then
log INFO "Teiler setup detected -- will start Teiler services."
OVERRIDE+=" -f ./$PROJECT/modules/teiler-compose.yml"
generate_public_oidc_client "OIDC_PUBLIC" "$(generate_redirect_urls '/ccp-teiler/*')"
add_public_oidc_redirect_url "/ccp-teiler/*"
fi