Skip to content

Add fab-oauth meta-package extra that installs apache-airflow-providers-fab[oauth] #73544

Closed

Description

@gorewilliams

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

"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?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. boring-cyborg commented on Sep 22, 2026

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

  2. kartik00052 commented on Sep 22, 2026

    @kartik00052
    Contributor

    please assign this issue to me
    I want to work on this issue

  3. schizophrenicmaniac commented on Sep 22, 2026

    @schizophrenicmaniac
    Contributor

    Hi! I would like to work upon this feature :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:featureFeature Requestsneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions