ftakelait opened a new pull request, #60379: URL: https://github.com/apache/airflow/pull/60379
## What does this PR do? Previously, [AirbyteHook](cci:2://file:///Users/ftakelait/Documents/open-source-contribution-airflow/airflow/providers/airbyte/src/airflow/providers/airbyte/hooks/airbyte.py:32:0-222:32) always attempted to authenticate using client credentials. This caused HTTP 415 errors when connecting to Airbyte OSS deployed with authentication disabled. This PR makes authentication conditional - if `client_id` and `client_secret` are not provided in the connection, the hook creates an unauthenticated API session. ## How was this tested? - Existing unit tests pass (they already use connections without credentials) - Verified the logic handles both cases: with and without credentials Fixes: #47161 -- 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]
