HF RL Explorer

Enable Custom Authentication for JWT Token Generation in the Airflow Public API

Enable Custom Authentication for JWT Token Generation in the Airflow Public API: a task in LegoFlow-SWE (Harbor dataset). Symptom In Airflow 3, the /token endpoint only supports basic authentication with a username and password. This works for users stored in the database ( AUTH DB ) or LDAP (…

The task

**Symptom** In Airflow 3, the `/token` endpoint only supports basic authentication with a username and password. This works for users stored in the **database** (`AUTH_DB`) or LDAP (`AUTH_LDAP`), but it is impossible for deployments that rely on OAuth (e.g., Keycloak) to obtain a JWT **token**. Users who attempt to…

Part of Lego-X/LegoFlow-SWE.