Repository navigation
Closed as not planned
Labels
Description
Summary
Surfaced by the multi-language coverage fan-out while conformance-testing these SPEC-IDs against databricks/databricks-sql-kernel. Each finding is committed as an expected-failure (xfail) test in the coverage PR — the test asserts the CORRECT (post-fix) behavior and stays red until THIS driver (databricks/databricks-sql-kernel) is fixed, then flips green as a tripwire.
Findings
- AUTH-012 [sea]: An empty
identity_federation_client_idis not normalised to absent:AuthConfig::pat/oauth_m2m/oauth_u2mkeepSome("")andFederationProvider::exchangetreats it as SP-wide WIF, sending an emptyidentity_federation_client_idform field and droppingreturn_original_token_if_authenticated=truefor foreign-issuer JWT/BYOT callers; forwarding should be gated on a non-empty value (the C-ABIrequired_strsetter and the pyo3 kwarg both pass "" through).- failing test:
identity_federation_client_id_forwarding, identity_federation_client_id_empty_treated_as_absent(see the coverage PR diff undertests/)
- failing test:
- AUTH-012: An empty
identity_federation_client_idis not normalised to absent:AuthConfig::pat/oauth_m2m/oauth_u2mkeepSome("")andFederationProvider::exchangetreats it as SP-wide WIF, sending an emptyidentity_federation_client_idform field and droppingreturn_original_token_if_authenticated=truefor foreign-issuer JWT/BYOT callers; forwarding should be gated on a non-empty value (the C-ABIrequired_strsetter and the pyo3 kwarg both pass""through).
Reproduce & Expected
AUTH-012 — Verifies the connect-level identity_federation_client_id option (the service-principal client ID that selects mandatory SP-wide workload-identity token exchange) is ACCEPTED alongside whichever aut…
Reproduce:
SELECT 1 AS test_value
SELECT 1 AS test_valueExpected (per the shared spec):
- completes without an exception
- result has exactly 1 row(s)
- completes without an exception
- result has exactly 1 row(s)
- full assertion contract:
result:
- label: omitted
no_exception: true
- label: omitted
row_count: 1
- label: omitted
federation_client_id_forwarded: false
- label: empty
no_exception: true
- label: empty
row_count: 1
- label: empty
federation_client_id_forwarded: false
- label: supplied_pat
federation_client_id_forwarded: true
- label: supplied_m2m
federation_client_id_forwarded: trueContext
- The behavior was first fixed in a DIFFERENT driver — reference PR: feat(kernel): forward identity federation client ID databricks-sql-python#910 — which seeded the shared language-neutral spec. This issue tracks the same conformance gap in databricks/databricks-sql-kernel; the reference PR is for cross-referencing the intended behavior, NOT a change to this repo.
- Coverage PR carrying the reproducing xfail test(s): https://github.com/databricks/databricks-driver-test/pull/1306
Activity
github-actions commentedon Sep 17, 2026
This issue has been marked as Stale because it has been open for 30 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue.
github-actions commentedon Sep 24, 2026
This issue was closed because it has been inactive for 7 days since being marked as stale.