Skip to content

Fix on client_credentials no working#133

Open
danirolopes wants to merge 2 commits intoairbytehq:mainfrom
samax-tecnologia:bugfix/client_credentials_auth
Open

Fix on client_credentials no working#133
danirolopes wants to merge 2 commits intoairbytehq:mainfrom
samax-tecnologia:bugfix/client_credentials_auth

Conversation

@danirolopes
Copy link

@danirolopes danirolopes commented Oct 28, 2025

The use of urljoin on the do_token_request was creating a bug for the base configuration.

When the self.base_url was the default "https://api.airbyte.com/v1" and credentials was the default "/applications/token", it did not work as expected

Expected result: "https://api.airbyte.com/v1/applications/token"
Real result: "https://api.airbyte.com/applications/token"

So the client auth did not work. Did a simple fix, since changing the self.base_url to "https://api.airbyte.com/v1/" broke other things

Versions used:
Python 3.10.10
urllib 2.5.0
airbyte sdk 0.53.0
Running on MacOS 12.6.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant