stephen-bracken commented on PR #70783:
URL: https://github.com/apache/airflow/pull/70783#issuecomment-5681290594

   @pierrejeambrun 
   > I believe this is breaking the because core no longer hardcode 
JWTRefreshMiddleware, but old provider doesn't call 
super().get_fastapi_middlewares().
   
   I have added `BaseAuthManager.use_jwt_refresh_middleware` (default True) 
that will trigger the old refresh behaviour. This allows auth managers to 
control the order in which the middleware from `get_jwt_refresh_middleware()` 
gets initialised without breaking old auth flows.


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