-
Notifications
You must be signed in to change notification settings - Fork 103
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
[BUG] REDIRCT_URL mismatched with Databricks Cloud OAuth Application #582
Comments
@andrefurlan-db suggestions? |
It's an easy PR to fix this, I'm happy to do the work. I just need help understanding the implications and the release versioning |
Absolutely, I'm just worried that we hard-coded that particular value to work with Azure, or similar, so I'm hoping to get someone who worked on the implementation to weigh in. |
@jasondamour: @andrefurlan-db is fixing this at the source so that we shouldn't need to make a change in the adapter. Will update this thread when fixed. |
Awesome, ty. The scopes are also mismatched ("sql" vs "all-privileges") |
@benc-db @andrefurlan-db Hi Guys, any update? |
I know we've been working on it (including the scope issue). Let me check with my team to see if we have an update on when it should be rolled out. |
Hi guys! Do you have an idea when this fix is going to be rolled out ? Tks :) |
@benc-db @andrefurlan-db any updates please. |
Change OAUTH callback, priveleges
Apologies for how long this has dragged on. This is pretty far out of my area of expertise; my understanding is that it will break oauth for other users if we change the url in the adapter directly. I appreciate this PR that was filed: #632 |
See #640, I think there are still issues I'm trying to get resolved. |
Describe the bug
When trying to use Oauth for dbt-databricks, the browser returns this error:
The mismatch is clear to see:
vs
https://github.com/databricks/dbt-databricks/blob/main/dbt/adapters/databricks/connections.py?plain=1#L122
Steps To Reproduce
databricks account published-app-integration create --app-id databricks-dbt-adapter
auth_type: oauth
dbt debug
to trigger oauth flowExpected behavior
OAuth flow to succeed
Screenshots and log output
If applicable, add screenshots or log output to help explain your problem.
System information
The output of
dbt --version
:The operating system you're using:
MacOS
The output of
python --version
:3.11.7
Additional context
Probably easier/safer to update this connector than the databricks published app...
The text was updated successfully, but these errors were encountered: