Issues with Airflow Airbyte provider and 404 error from token endpoint

Summary

The user is facing issues with the Airflow Airbyte provider and receiving a 404 error from the token endpoint despite having authentication disabled. The problem seems to be related to connection settings.


Question

Hey Everyone, I’ve had issues with the new Airflow airbyte provider, I can’t seem to get it to work. As far as I know, its due to the connection settings, but I keep getting 404 (despite my OSS install with abctl having authentication disabled). I have as HOST: http://REDACTED:8000 and TOKEN_URL: v1/applications/token. I keep getting this error:
airflow.exceptions.AirflowException: Unexpected status code 404 from token endpoint
Any ideas of what I am doing wrong?



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

["airflow-airbyte-provider", "404-error", "token-endpoint", "connection-settings", "authentication-disabled"]

Instead of
/v1/applications/token
can you check
/api/public/v1/applications/token ?

And for all endpoints, /api/public prefix

you are using https://pypi.org/project/apache-airflow-providers-airbyte/4.0.0/, right?

Yes, I am using airbyte v4.0.0 on mwaa

trying using /api/public/ also, but no luck thus far :disappointed:

https://github.com/apache/airflow/pull/41122/files#diff-cc81d98a372f34a44358de1f559150444d1d416222beed98f81e1980f8b2ae03
Do I need to send the client_id and client_secret somehow?

I do not have any auth setup

I do not have the Application window :thinking_face: I am on OSS installation

helm charts, right? not abctl?

okay, so i guess by disabling auth, you don’t have this screen

yeah, that was my guess too. Guess we have to enable auth and set up client id and client secret?

I’m not sure if airflow requires those credentials, but if so, then you need to enable auth

the documentation says it should be open if we disable auth, but on the airbyte provider, looks like the client_id and client_secret are both required. And leaving them empty, it does not work :thinking_face: https://github.com/apache/airflow/pull/41122/files#diff-c6cdb4cef58d00fa6f24095b3aa1c6eef5ad8d448b806e303a94bfb2ce745d95

guess I will be trying that, thank you for your help and support this far!