Skip to content

[P1] [.NET] Add personal access token and federated auth #1142

Description

@teodordelibasic-db

SDK

.NET

Description

.NET applications authenticate with OAuth client credentials or a custom IHeadersProvider. The Rust SDK also supports a personal access token, and federated auth, where the application gets a token from its own identity provider (for example Microsoft Entra ID) and the SDK exchanges it for a Databricks token.

A personal access token can already be sent through a custom IHeadersProvider, but then the SDK's own token handling (caching, and refreshing after the server rejects a token) doesn't apply.

Proposed Solution

  • Create streams with a personal access token
  • Federated auth with a callback that returns the identity provider's token, in sync and async versions
  • Token cache settings on the SDK builder (enable or disable, refresh buffer)
  • Tests, docs, an example and a NEXT_CHANGELOG entry

Additional Context

Priority P1: federated auth is required for GA. The blocking federated functions come with PR #1106; the async versions, personal access tokens and cache settings need #1131. Related: #1069.

Activity

  1. added
    ga-blocker
    on Nov 19, 2026
  2. changed the title [-][.NET] Add personal access token and federated auth[/-] [+][P1] [.NET] Add personal access token and federated auth[/+] on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementga-blocker

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions