Skip to content

Commit

Permalink
Testing OIDC
Browse files Browse the repository at this point in the history
  • Loading branch information
prdpsvs committed Nov 23, 2024
1 parent cc9827b commit 93ca65e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/integration-tests-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
- name: Get Azure Access Token
id: get-token
run: |
echo $(az account get-access-token --resource "https://database.windows.net/" --query accessToken -o tsv)
TOKEN=$(az account get-access-token --resource "https://database.windows.net//.default" --query accessToken -o tsv)
echo "ACCESS_TOKEN=$TOKEN" >> $GITHUB_ENV
# Output the token (slightly modified to bypass masking)
echo "Access Token: ${TOKEN::-4}****"
# Print the token (for debugging)
- name: Print Access Token
Expand Down

0 comments on commit 93ca65e

Please sign in to comment.