From 581c540d91c848862e33ecaf0a5a3f0daa977174 Mon Sep 17 00:00:00 2001 From: Kaxil Naik Date: Sat, 5 Dec 2020 21:17:53 +0000 Subject: [PATCH] Use basic-auth as API Auth Backend (#393) closes https://github.com/astronomer/issues/issues/2228 (cherry picked from commit d42cfb7c48493e572b942fcb9ebaf104e12c3560) --- airflow/docker_test.go | 2 +- airflow/include/composeyml.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/airflow/docker_test.go b/airflow/docker_test.go index 700bc012d..97d1d3dc1 100644 --- a/airflow/docker_test.go +++ b/airflow/docker_test.go @@ -131,7 +131,7 @@ services: AIRFLOW__CORE__LOAD_EXAMPLES: "False" AIRFLOW__CORE__FERNET_KEY: "d6Vefz3G9U_ynXB3cr7y_Ak35tAHkEGAVxuz_B-jzWw=" AIRFLOW__WEBSERVER__RBAC: "True" - AIRFLOW__API__AUTH_BACKEND: "airflow.api.auth.backend.default" + AIRFLOW__API__AUTH_BACKEND: "airflow.api.auth.backend.basic_auth" ports: - 8080:8080 volumes: diff --git a/airflow/include/composeyml.go b/airflow/include/composeyml.go index 3bbf9cd76..1c201c7cc 100644 --- a/airflow/include/composeyml.go +++ b/airflow/include/composeyml.go @@ -80,7 +80,7 @@ services: AIRFLOW__CORE__LOAD_EXAMPLES: "False" AIRFLOW__CORE__FERNET_KEY: "d6Vefz3G9U_ynXB3cr7y_Ak35tAHkEGAVxuz_B-jzWw=" AIRFLOW__WEBSERVER__RBAC: "True" - AIRFLOW__API__AUTH_BACKEND: "airflow.api.auth.backend.default" + AIRFLOW__API__AUTH_BACKEND: "airflow.api.auth.backend.basic_auth" ports: - {{ .AirflowWebserverPort }}:8080 volumes: