Skip to content

Use WebUI username and password in webserver_config.py for LDAP authentication #14310

Answered by lewismc
lewismc asked this question in Q&A
Discussion options

You must be logged in to vote

The response was provided here.
In essence,

You shouldn’t need to handle the user inputs manually in the webserver_config.py
When using LDAP the bind stage authenticates the client application (Airflow) to your LDAP server. This AUTH_LDAP_BIND_USER should be an LDAP service account or proxy user, not the credentials of the user trying to login.
Once it has established the bind connection, the Airflow LDAP backend will then confirm if the user from the webform is authorised.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lewismc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant