Commit 5176d1de authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

fix label for tank oidc client

parent 1d4cb54d
......@@ -84,7 +84,7 @@ init_steering () {
echo "Creating OIDC client for dashboard"
DASHBOARD_CLIENT_ID="$(docker exec steering-django python manage.py create_oidc_client -r "id_token token" --no-require-consent -i -u "$HTTP_SCHEMA://$AURA_DOMAIN/oidc_callback.html" -u "$HTTP_SCHEMA://$AURA_DOMAIN/oidc_callback_silentRenew.html" -p "$HTTP_SCHEMA://$AURA_DOMAIN" dashboard public)"
echo "Creating OIDC client for tank"
TANK_OIDC_DETAILS="$(docker exec steering-django python manage.py create_oidc_client -r "code" -i -u "$HTTP_SCHEMA://$AURA_DOMAIN/tank/auth/oidc/callback" -p "$HTTP_SCHEMA://$AURA_DOMAIN" dashboard confidential)"
TANK_OIDC_DETAILS="$(docker exec steering-django python manage.py create_oidc_client -r "code" -i -u "$HTTP_SCHEMA://$AURA_DOMAIN/tank/auth/oidc/callback" -p "$HTTP_SCHEMA://$AURA_DOMAIN" tank confidential)"
TANK_CLIENT_ID="$(echo $TANK_OIDC_DETAILS | cut -d ' ' -f 1)"
TANK_CLIENT_SECRET="$(echo $TANK_OIDC_DETAILS | cut -d ' ' -f 2)"
echo "Stopping steering-django"
......@@ -124,5 +124,5 @@ start_webserver () {
init_common
init_steering
init_tank
#init_dasboard
#start_webserver
\ No newline at end of file
init_dashboard
start_webserver
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment