gorewilliams opened a new issue, #73544:
URL: https://github.com/apache/airflow/issues/73544

   ### 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)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to