Adding Databricks Azure tokens (Bearer token) support. (Issue #121)#122
Closed
divyavanmahajan wants to merge 1 commit into
Closed
Adding Databricks Azure tokens (Bearer token) support. (Issue #121)#122divyavanmahajan wants to merge 1 commit into
divyavanmahajan wants to merge 1 commit into
Conversation
Contributor
Author
|
Closed. Incorrect branch. Will resubmit. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #121 : Support Azure AD Tokens instead of PAT tokens
PAT vs Azure AD tokens - PAT tokens are workspace specific and usually have a long expiry. Azure AD tokens expire within a few hours and the same token will work across all workspaces with SSO enabled.
The NodeJS SQL driver was extended to support Azure AD tokens.
Description of change:
Workaround:
To use AAD token - you can tweak (@databricks/sql 1.1.1) as follows to use Azure AD tokens.
Submitted by:
Divya van Mahajan divyavanmahajan@users.noreply.github.com