Skip to content

Disable separate Keycloak JWTs for Airflow v3.2- - #70981

Open
stephen-bracken wants to merge 1 commit into
apache:mainfrom
stephen-bracken:backport-keycloak-jwt
Open

Disable separate Keycloak JWTs for Airflow v3.2-#70981
stephen-bracken wants to merge 1 commit into
apache:mainfrom
stephen-bracken:backport-keycloak-jwt

Conversation

@stephen-bracken

@stephen-bracken stephen-bracken commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Disable separate Keycloak JWTs in Airflow v3.2 and below

Handling the Keycloak JWTs separately requires the KeycloakJWTMiddleware, which is injected through KeycloakAuthManager.get_fastapi_middlewares(), which was added in Airflow v3.3.0. If using a version of Airflow without get_fastapi_middleware, revert to the old behaviour and inject the Keycloak JWTs as claims on the Airflow JWT.

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)
  • No

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant