Which statement best describes how Airflow uses LDAP for authentication?
Think about how LDAP servers usually handle authentication requests.
Airflow connects to the LDAP server and sends the user's credentials to verify them directly. It does not store passwords locally or use OAuth tokens for LDAP authentication.
What will be the output in Airflow logs when a user successfully authenticates via OAuth?
INFO - User 'alice@example.com' authenticated successfully via OAuth provider.Look for a successful authentication message mentioning OAuth.
The log line confirms a successful OAuth authentication for the user. Other options indicate errors or different authentication methods.
Which configuration snippet correctly enables LDAP authentication in Airflow's airflow.cfg?
Check which backend is specifically for LDAP authentication.
The correct backend for LDAP authentication is ldap_auth. Other backends are for different authentication methods or no authentication.
After configuring OAuth in Airflow, users report login failures. Which log message indicates the root cause?
Look for errors related to OAuth configuration.
Missing OAuth client secret causes authentication failures. Other messages indicate success or unrelated issues.
Given Airflow configured with both LDAP and OAuth authentication backends, what is the correct order of authentication attempts during user login?
Think about short-circuiting authentication once a method succeeds.
Airflow first checks OAuth token validity (1). If valid, it grants access immediately (4). If OAuth fails, it tries LDAP (2). If LDAP fails, access is denied (3).