Skip to content

Commit

Permalink
Update src/external-repository/scripts/clone.sh
Browse files Browse the repository at this point in the history
Co-authored-by: David Michon <[email protected]>
  • Loading branch information
markphip and dmichon-msft authored Jun 20, 2024
1 parent 56dc757 commit 0ec70e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/external-repository/scripts/clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ obtain_oidc_token_and_authenticate() {
az login --service-principal -u $AZURE_CLIENT_ID --tenant $AZURE_TENANT_ID --federated-token "$federatedToken"

echo "Obtaining Azure DevOps token..."
export $EXT_GIT_PREBUILD_PAT=$(az account get-access-token --tenant $AZURE_TENANT_ID --query accessToken -o tsv)
export $EXT_GIT_PREBUILD_PAT=$(az account get-access-token --scope "499b84ac-1321-427f-aa17-267ca6975798/.default" --query accessToken -o tsv)
fi
}

Expand Down

0 comments on commit 0ec70e5

Please sign in to comment.