Databricks OAuth machine-to-machine (M2M) authentication #79
Closed
TobiasRasbold
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Hi @TobiasRasbold, thanks for raising the issue. Yes adding support for M2M auth is a great idea and I put it on my todo list. Will try to add it soon. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I added support for M2M OAuth in v1.2.6, let me know of that works for you |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi mullerpeter,
first of all, thanks for your work at this repository!
I would think it would be great feature if this repository also proivdes OAuth using Databricks M2M authentication next to access tokens.
An advantage of the M2M auth against Personal Access Token (PAT) is that is does not expire.
So refreshing tokens are not needed any more by using M2M auth.
For OAuth M2M only a Databricks Service Principal and it's client_id and secret is required.
Please find more details: https://docs.databricks.com/en/dev-tools/auth/oauth-m2m.html#oauth-machine-to-machine-m2m-authentication.
What's your opinion on that?
Best regards,
Tobias
Beta Was this translation helpful? Give feedback.
All reactions