how do I use Basic AUTH for the UI?
# ask-ai
t
how do I use Basic AUTH for the UI?
k
Based on the knowledge sources, I can provide information about Basic Auth for the Airbyte UI. Airbyte Open Source includes Basic Auth security for accessing the UI. Here's what you need to know: ## Default Credentials When you start the Airbyte server and navigate to
localhost:8000
, you'll be prompted to log in before accessing your Airbyte workspace. The default credentials are: - Username:
airbyte
- Password:
password
## Changing or Removing Basic Auth You should change these default credentials before deploying Airbyte. You can modify the username and password by setting the following environment variables in your
.env
file: -
BASIC_AUTH_USERNAME
-
BASIC_AUTH_PASSWORD
If you don't want to use Basic Auth at all, you can disable it by setting both
BASIC_AUTH_USERNAME
and
BASIC_AUTH_PASSWORD
to empty values (
" "
) in your
.env
file. This Basic Auth feature was added to ensure security when using Airbyte Open Source, as mentioned in the [October 2022 release notes](https://docs.airbyte.com/release_notes/october_2022#airbyte-v04013-to-v04017).
t
does this work in the newer versions of airbyte? @kapa.ai
k
A message from kapa.ai
Based on the knowledge sources, I can confirm that Basic Auth is still supported in newer versions of Airbyte, but the authentication system has evolved. ## Current Authentication System In newer versions of Airbyte (1.6, 1.7, 1.8, and next), the platform comes with built-in authentication based on an email provided at setup and a generated password. This is documented in the [Authentication documentation](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication). ## Viewing Your Credentials If you're running Airbyte through
abctl
, you can view your credentials by running:
Copy code
abctl local credentials
For Kubernetes deployments using Helm:
Copy code
kubectl get secret airbyte-auth-secrets -n <YOUR_NAMESPACE> -o yaml
## Disabling Authentication You can still disable authentication if needed (for example, if you're using a reverse proxy with your organization's SSO) by adding the following to your
values.yaml
file:
Copy code
global:   auth:     enabled: false
## Legacy Basic Auth The older
BASIC_AUTH_USERNAME
and
BASIC_AUTH_PASSWORD
environment variables that were mentioned in the October 2022 release notes appear to still be present in some Docker Compose configurations shown in the forum posts, but the newer versions have moved to a more comprehensive authentication system with support for features like cookie security settings and Kubernetes secrets management. So yes, authentication still works in newer versions, but it has been enhanced beyond the simple Basic Auth that was initially introduced.