Repository navigation
Extend KeycloakJWTMiddleware from JWTRefreshMiddleware - #70707
Conversation
KeycloakAuthManager.get_user_from_token(), add request object to resolve_user_from_token()
1c0cc45 to
1a9cf0d
Compare
bf78928 to
3669a91
Compare
KeycloakAuthManager.get_user_from_token(), add request object to resolve_user_from_token()d225f24 to
bf8b4ff
Compare
7cdf80a to
5909a7c
Compare
4231c16 to
7064369
Compare
95a2c08 to
352362f
Compare
963aaa8 to
8bca9fc
Compare
88b30f5 to
debb0d8
Compare
cc46c0d to
87314aa
Compare
|
Fork CI: green. CI for the latest commit passed in your fork. The pull request is ready for maintainer review. Pull requests from contributors run their CI in the contributor's own fork. GitHub Actions is free and has no minute limit on public forks, while the CI capacity of the Apache Software Foundation is shared by every ASF project and is finite. Fork CI tested this branch merged with How this works: CI in your fork. This comment was posted automatically by the fork CI monitor from templates drafted with an AI-assisted tool, so it may contain mistakes. An Apache Airflow maintainer, a real person, will review the pull request once its fork CI is green. Why the first pass is automated. |
87314aa to
ca8b258
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
@vincbeck tests are passing on 3.3.2 now, many thanks for your review on this! |
related: #70550 #70783
Extend the JWTRefreshMiddleware.refresh_user() interface in KeycloakJWTMiddleware
Make
KeycloakAuthManager.get_jwt_middleware()returnKeycloakJWTMiddleware, inheriting fromJWTRefreshMiddlewareto maintain the jwt flow and remove bypassing the flow in the base middleware. This also incorporates changes from #74856 to speed up api server operations.Preserve fixes from #76353 and #73695 in
KeycloakJWTMiddleware.refresh_user(), and move subject validation toKeycloakAuthManager._attach_keycloak_tokens()to ensure that the Keycloak token subject always matches the user id.Was generative AI tooling used to co-author this PR?