dbt-databricks
dbt-databricks copied to clipboard
OAuth redirect running on a remote environment
Describe the bug
We are hosting DBT in a remote development environment (such as dbt.akme.com) using code-server are a looking at leveraging the OAuth H2M authentication.
When running the dbt debug command we are getting the error :
cannot listen on dbt.akme.com
Where it should only try to listen to localhost.
Steps To Reproduce
In the profiles.yml the the oauth_redirect_url as such:
oauth_redirect_url: "https://dbt.akme.com/codeserver/proxy/8020/"
And when running dbt debug you should get the error.
Expected behavior
When setting up a redirect url on a different host than localhost, I would still expect dbt to listen to localhost.
System information
The output of dbt --version:
Core:
- installed: 1.8.2
- latest: 1.8.2 - Up to date!
Plugins:
- spark: 1.8.0 - Up to date!
- databricks: 1.8.1 - Up to date!
The operating system you're using:
The output of python --version:
Python 3.11.2