GitHub user brouberol edited a comment on the discussion: Airflow API 
authentication using Kerberos is not working from the version 2.8.0

I stumbled upon the same issue, but I realized that it wasn't a Kerberos issue. 
I think it has to due with `/api/v1/pools` not being exposed anymore, or at 
least not supporting the Kerberos auth backend?

I'm running Airflow 2.10.2, and I was getting the same 403 response even when 
running _un-authenticated_. However, the following works (after having 
re-enabled API kerberos authentication):
```bash
$ curl --negotiate -u: -s --service-name airflow 
https://airflow-test.xxxx.com/api/experimental/pools  | jq .
[
  {
    "description": "Default pool",
    "id": 1,
    "include_deferred": false,
    "pool": "default_pool",
    "slots": 128
  }
]
```

However, with the same deployment, hitting `/api/v1/pools` returns the same 403 
that you're getting:
```
$ curl --negotiate -u: -s --service-name airflow 
https://airflow-test.xxxx.com/api/v1/pools  | jq .
{
  "detail": null,
  "status": 403,
  "title": "Forbidden",
  "type": 
"https://airflow.apache.org/docs/apache-airflow/2.10.2/stable-rest-api-ref.html#section/Errors/PermissionDenied";
}
```

GitHub link: 
https://github.com/apache/airflow/discussions/39683#discussioncomment-11088992

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to