GitHub user georgek added a comment to the discussion: 401 Error when trying to 
trigger Airbyte Sync

Just in case it helps someone, I had similar problems, namely getting 401s back 
from Airbyte. My Airbyte instance didn't have auth enabled at all and it seems 
the provider does not support calling Airbyte without auth (it will always try 
to get a token etc.). For some reason Airbyte returns 401s when auth isn't 
enabled but credentials are passed, even if the endpoint doesn't exist at all 
(the token endpoint should be a 404  when auth isn't enabled).

The first problem was that for OSS Airbyte the connection needs to be set 
properly. This is documented here: 
https://airflow.apache.org/docs/apache-airflow-providers-airbyte/stable/connections.html

Once auth was enabled it worked with the creds as documented here: 
https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication

I then had a problem that I couldn't log in to the web UI. I think something 
went wrong with a migration due to auth being disabled and the single record in 
the `organization` table had nothing in the `email` field. Manually enter 
something in that field and this is then your login email address. The password 
is the admin password generated in the secret above.

GitHub link: 
https://github.com/apache/airflow/discussions/46543#discussioncomment-13352663

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to