amardatar commented on issue #42520: URL: https://github.com/apache/airflow/issues/42520#issuecomment-2489306026
For anyone looking for a workaround - this is a little involved, but I've got it working by making the following changes: The connection in Airflow has the details: Host: `<your airbyte domain>/api/public/v1` Token URL: `v1/applications/token` Client ID: `<your client ID>` Client Secret: `<your client secret>` And the clientcredentials.py file needs to be updated [here](https://github.com/airbytehq/airbyte-api-python-sdk/blob/048c847914113b75a246ce122fe1cce4f48fee64/src/airbyte_api/_hooks/clientcredentials.py#L119) from `data=payload` to `data=json.dumps(payload)` (you'll also need to `import json` at the top of the file). Up to you how you do this - I created a copy of the file in my repo, and then use that to replace the normally installed file in my Dockerfile, i.e. something like `COPY clientcredentials.py /home/airflow/.local/lib/python3.12/site-packages/airbyte_api/_hooks/clientcredentials.py`. Obviously - wouldn't recommend this unless you know what you're doing, fairly high chance of something breaking at some point. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
