Skip to content

Commit 4b48ac9

Browse files
committed
fix
1 parent d538b75 commit 4b48ac9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/token-federation-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
OIDC_TOKEN: ${{ steps.get-id-token.outputs.token }}
192192
run: |
193193
echo "Attempting direct token exchange with curl..."
194-
echo "Host: $DATABRICKS_HOST"
194+
echo "Host: $DATABRICKS_HOST_FOR_TF"
195195
echo "Client ID: $IDENTITY_FEDERATION_CLIENT_ID"
196196
197197
# Debug token claims before making the request
@@ -227,7 +227,7 @@ jobs:
227227
curl_data=$(eval echo "$curl_data")
228228
229229
# Print request details (except the token)
230-
echo "Request URL: https://$DATABRICKS_HOST/oidc/v1/token"
230+
echo "Request URL: https://$DATABRICKS_HOST_FOR_TF/oidc/v1/token"
231231
echo "Request data: $(echo "$curl_data" | sed 's/subject_token=.*&/subject_token=REDACTED&/')"
232232
233233
# Make the request with detailed info
@@ -349,7 +349,7 @@ jobs:
349349
# Get Databricks connection parameters
350350
host = os.environ.get("DATABRICKS_HOST_FOR_TF")
351351
http_path = os.environ.get("DATABRICKS_HTTP_PATH_FOR_TF")
352-
identity_federation_client_id = os.environ.get("IDENTITY_FEDERATION_CLIENT_ID_FOR_TF")
352+
identity_federation_client_id = os.environ.get("IDENTITY_FEDERATION_CLIENT_ID")
353353
354354
if not host or not http_path:
355355
print("Missing Databricks connection parameters")

0 commit comments

Comments
 (0)