Skip to content

Deprecate interactive U2M authentication APIs - #1832

Open
renaudhartert-db wants to merge 1 commit into
databricks:mainfrom
renaudhartert-db:deprecate-sdk-u2m
Open

renaudhartert-db wants to merge 1 commit into
databricks:mainfrom
renaudhartert-db:deprecate-sdk-u2m

Conversation

@renaudhartert-db

Copy link
Copy Markdown
Contributor

Summary

Deprecates the SDK interactive U2M authentication and token-cache APIs now owned by the Databricks CLI. The APIs remain available for source compatibility.

Why

Interactive login and persistent token storage are CLI responsibilities. The CLI implementation has moved to databricks/cli#6540, so SDK consumers should no longer use these SDK APIs for interactive authentication.

What changed

Interface changes

Marks PersistentAuth, its options, OAuth argument types, discovery helpers, and token-cache APIs as deprecated. OAuth endpoint supplier types remain supported because SDK configuration still uses them.

Behavioral changes

None. Existing APIs retain their implementation and behavior.

Internal changes

Removes the unused Config.getOAuthArgument helper and its tests.

How is this tested?

  • make fmt
  • make lint
  • make test: all 1,467 tests pass

Written with Codex.

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-go

Inputs:

  • PR number: 1832
  • Commit SHA: 4362bad81ecef307cf70cc25ac7464e43dca6492

Checks will be approved automatically on success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant