stephen-bracken commented on code in PR #70783:
URL: https://github.com/apache/airflow/pull/70783#discussion_r4338915778


##########
airflow-core/src/airflow/api_fastapi/auth/middlewares/refresh_token.py:
##########
@@ -157,7 +158,15 @@ def _build_cookie_headers(request: Request, new_token: 
str) -> tuple[str, list[s
         return token_cookie, cleanup_cookies
 
     @staticmethod
-    async def _refresh_user(current_token: str) -> tuple[BaseUser | None, 
BaseUser | None]:
+    async def _refresh_user(request: Request) -> tuple[BaseUser | None, 
BaseUser | None]:

Review Comment:
   I agree, I have done the same with `build_cookie_headers()` as that needs to 
be overridden as well.



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