vincbeck commented on PR #35340: URL: https://github.com/apache/airflow/pull/35340#issuecomment-1789011409
You can specify multiple authentication strategy for the API. See documentation [here](https://airflow.apache.org/docs/apache-airflow/stable/security/api.html). Example: `auth_backends = airflow.api.auth.backend.default, airflow.api.auth.backend.kerberos_auth`. [This code](https://github.com/apache/airflow/pull/35340/files#diff-86edd78c9ae6d7bd14be12d16870d2c900014027e53295d67f0f1ab80169825fR48) loop through all the API auths you specified in your config through `auth_backends` and then call them. So [this one](https://github.com/apache/airflow/blob/8c25304f047dd77dde6802155a894ce9a15481a8/airflow/auth/managers/fab/api/auth/backend/basic_auth.py#L58) is used whenever a user specify in his config `auth_backends = airflow.auth.managers.fab.api.auth.backend.basic_auth` -- 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]
