Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .nextchanges/cli/spog-provisioned-url.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* `databricks auth login` now saves profiles with the account's primary (SPOG) URL. Account logins look it up via `/api/2.0/accounts/{account_id}/provisioned-urls/primary`. Workspace logins (via `--host` or the browser flow) look it up via the workspace's `/.well-known/databricks-config?include_primary_url=true` and keep a workspace-scoped token, as does `--host <spog>` with `?o=<workspace-id>` or `--workspace-id`. Such profiles record the workspace's OAuth metadata URL in `discovery_url` and need this CLI version or newer: older versions can't refresh their token and ask you to run `databricks auth login` again. ([#6854](https://github.com/databricks/cli/pull/6854))
309 changes: 287 additions & 22 deletions cmd/auth/login.go

Large diffs are not rendered by default.

Loading
Loading