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 f464f7e commit b18360b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/utils/organisational-role-assignment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ BASEDIR=$(dirname "$0")

USER_TOKEN=$($BASEDIR/idam-user-token.sh $USERNAME $PASSWORD)
USER_ID=$($BASEDIR/idam-user-id.sh $USER_TOKEN)
SERVICE_TOKEN=$($BASEDIR/bin/utils/idam-lease-service-token.sh civil_service \
SERVICE_TOKEN=$($BASEDIR/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"
Expand Down

0 comments on commit b18360b

Please sign in to comment.