Skip to content

Commit d538b75

Browse files
committed
fix
1 parent 00e015c commit d538b75

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
@@ -186,8 +186,8 @@ jobs:
186186
187187
- name: Debug token exchange with curl
188188
env:
189-
DATABRICKS_HOST: ${{ github.event_name == 'workflow_dispatch' && inputs.databricks_host || secrets.DATABRICKS_HOST_FOR_TF }}
190-
IDENTITY_FEDERATION_CLIENT_ID: ${{ github.event_name == 'workflow_dispatch' && inputs.identity_federation_client_id || secrets.IDENTITY_FEDERATION_CLIENT_ID_FOR_TF }}
189+
DATABRICKS_HOST_FOR_TF: ${{ github.event_name == 'workflow_dispatch' && inputs.databricks_host || secrets.DATABRICKS_HOST_FOR_TF }}
190+
IDENTITY_FEDERATION_CLIENT_ID: ${{ github.event_name == 'workflow_dispatch' && inputs.identity_federation_client_id || secrets.IDENTITY_FEDERATION_CLIENT_ID }}
191191
OIDC_TOKEN: ${{ steps.get-id-token.outputs.token }}
192192
run: |
193193
echo "Attempting direct token exchange with curl..."
@@ -232,7 +232,7 @@ jobs:
232232
233233
# Make the request with detailed info
234234
echo "Sending request..."
235-
response=$(curl -v -s -X POST "https://$DATABRICKS_HOST/oidc/v1/token" \
235+
response=$(curl -v -s -X POST "https://$DATABRICKS_HOST_FOR_TF/oidc/v1/token" \
236236
--data-raw "$curl_data" \
237237
-H "Content-Type: application/x-www-form-urlencoded" \
238238
-H "Accept: application/json" \

0 commit comments

Comments
 (0)