databrickslabs / databricks-sdk-r

Databricks SDK for R (Experimental)
https://databrickslabs.github.io/databricks-sdk-r/
Apache License 2.0
19 stars 4 forks source link

SSO from DataBricks #23

Open vikram-rawat opened 9 months ago

vikram-rawat commented 9 months ago

Hi Team,

I need to build a Shiny app where the user will be authenticated from DataBricks before they fetch the data. I read that the authentication is not yet supported by this repo. Do you guys are planning it Or is there any alternative to implement this in R. Please any feedback is appreciated.

nfx commented 6 months ago

@vikram-rawat we'd be happy to accept your contribution. The way to implement it would to be to add a credential provider that you can pass through DatabricksClient argument

https://github.com/databrickslabs/databricks-sdk-r/blob/main/R/api_client.R#L136-L143