databricks / dbt-databricks

A dbt adapter for Databricks.
https://databricks.com
Apache License 2.0
226 stars 119 forks source link

change oauth default scope #776

Closed eric-wang-1990 closed 3 months ago

eric-wang-1990 commented 3 months ago

Resolves #

We have change the default scope for the dbt-databricks app to all-apis, offline_access, we also change the redirect url to https://localhost:8020, https://localhost:8050 in all AWS and GCP and Azure public regions. For Azure GovCloud regions it is still pending. For Azure in the current python sdk(0.17.0) we will always redirect to Azure endpoint so it does not affect how OAuth U2M works on Azure workspace at all. This PR remove the hardcoded override for scopes and redirectUrls.

Description

Checklist