Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of oauth-m2m authentication #6

Merged
merged 3 commits into from
Dec 26, 2024
Merged

Conversation

chikamura
Copy link
Contributor

@chikamura chikamura commented Aug 11, 2024

  • auth_type and oauth2_client_id, oauth2_client_secret are added to config, which are used by JDBC connection and API.

  • update 'com.databricks:databricks-jdbc:' from 2.6.34 to 2.6.38 to use oauth-m2m authentication.

    • wrap 'com.databricks:databricks-jdbc' in shadow-jar to suppress the stderr messages.(ERROR StatusLogger Unrecognized format specifier [d]...)

to test oauth-m2m authentication, see the official document for creating oauth credentials (step1 [Identity federation disabled] -> step2 -> step3 [Workspace admins]).

@chikamura chikamura self-assigned this Aug 11, 2024
@chikamura chikamura requested review from d-hrs and NamedPython August 12, 2024 23:05
@yu-kioo yu-kioo self-requested a review December 25, 2024 06:40
Copy link
Contributor

@yu-kioo yu-kioo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yu-kioo yu-kioo merged commit 272bd51 into main Dec 26, 2024
2 checks passed
@yu-kioo yu-kioo deleted the feature/oauth-m2m branch December 26, 2024 04:16
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.

2 participants