Add `fab-oauth` meta-package extra that installs `apache-airflow-providers-fab[oauth]`
envgap__apache__airflow-73544
01 / FAILURE SIGNATURE
As reported upstream
`pip install apache-airflow[fab]` installs `apache-airflow-providers-fab` but not its `oauth` extra, so enabling `AUTH_TYPE = AUTH_OAUTH` fails with `ModuleNotFoundError: No module named 'authlib'`. The provider extra was added in #64457, but the root `pyproject.toml` doesn't expose it.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
b9172bf1003eebfd7509e8b827449577f986b966- Manifest
pyproject.toml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
apache/airflow #73544 · read the original issue
### Description
`pip install apache-airflow[fab]` installs `apache-airflow-providers-fab` but not its `oauth` extra, so enabling `AUTH_TYPE = AUTH_OAUTH` fails with `ModuleNotFoundError: No module named 'authlib'`. The provider extra was added in #64457, but the root `pyproject.toml` doesn't expose it.
Proposal: add a meta-package extra that forwards to it, following the existing `amazon-aws-auth` → `apache-airflow-providers-amazon[python3-saml]` pattern (#50449):
```toml
"fab-oauth" = [
"apache-airflow-providers-fab[oauth]",
]
```
`fab-oauth` rather than `oauth` because Airflow 3 has several auth managers (FAB, Keycloak, Amazon) and Keycloak is also OAuth/OIDC; a bare `oauth` would be ambiguous.
Optionally in the same PR: repoint `github-enterprise` and `google-auth` (which currently pin `authlib` directly) to `apache-airflow-providers-fab[oauth]`, and update the meta-package extras table in `airflow-core/docs/extra-packages-ref.rst`.
### Use case/motivation
_No response_
### Related issues
_No response_
### Are you willing to submit a PR?
- [x] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]