Commit 3b4e6d8
committed
Add tests for discoveryUrl OIDC endpoint resolution
Adds tests covering:
- DATABRICKS_DISCOVERY_URL env var is loaded into Config
- getDatabricksOidcEndpoints() short-circuits to discoveryUrl when set
The underlying implementation (discoveryUrl config field and
getDatabricksOidcEndpoints() short-circuit) was already present in the
Java SDK. Mirrors the Python SDK's get_endpoints_from_url() addition.1 parent 30b5035 commit 3b4e6d8
1 file changed
Lines changed: 32 additions & 0 deletions
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
482 | 514 | | |
0 commit comments