Skip to content

Commit

Permalink
Update organisational-role-assignment.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vasudevganesanhmcts committed Dec 13, 2024
1 parent 667af9e commit 0132703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/utils/organisational-role-assignment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ BASEDIR=$(dirname "$0")

USER_TOKEN=$($BASEDIR/idam-user-token.sh $USERNAME $PASSWORD)
USER_ID=$($BASEDIR/idam-user-id.sh $USER_TOKEN)
SERVICE_TOKEN=$($BASEDIR/idam-lease-service-token.sh civil_service \
$(docker run --rm hmctspublic.azurecr.io/imported/toolbelt/oathtool --totp -b ${s2sSecret}))
SERVICE_TOKEN=$($(realpath $workspace)/bin/utils/idam-lease-service-token.sh civil_service \
$(docker run --rm hmctspublic.azurecr.io/imported/toolbelt/oathtool --totp -b ${S2S_SECRET:-AABBCCDDEEFFGGHH}))

echo "\n\nCreating role assignment: \n User: ${USER_ID}\n Role name: ${ROLE_NAME}\n ROLE_CLASSIFICATION: ${ROLE_CLASSIFICATION}\n"
echo "\n\nROLE ASSIGNMENT URL: \n Url: ${ROLE_ASSIGNMENT_URL}\n"
Expand Down

0 comments on commit 0132703

Please sign in to comment.