Commit 8f1810d
Fix OIDC endpoints detection
Fix oidc_endpoints() property. The method was incorrectly returning
Azure OIDC endpoints when ARM_CLIENT_ID is set, but oidc_endpoints()
is never called for Azure OIDC authentication.
This logic actually caused Databricks M2M OAuth to use the wrong
endpoint when the user set ARM_CLIENT_ID for other purposes.
NOTE: The new logic matches the behavior of the Go SDK and Java SDK.
Mirrors: databricks/databricks-sdk-java#657
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent dd68e95 commit 8f1810d
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
490 | 489 | | |
491 | 490 | | |
492 | 491 | | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | 492 | | |
497 | 493 | | |
498 | 494 | | |
| |||
0 commit comments