The GitHub Actions job "Tests (AMD)" on 
airflow.git/fab-refresh-user-sliding-jwt has failed.
Run started by GitHub user roshan-ramees (triggered by vincbeck).

Head commit for run:
e7edc6185c6f26c22b65a4f1e5264faebfb70790 / Ramees Roshan 
<[email protected]>
Implement FabAuthManager.refresh_user for sliding JWT refresh

JWTRefreshMiddleware (added in 3.1.4) calls auth_manager.refresh_user on
every request; if a user is returned it reissues the _token cookie so
long-open UI tabs don't burst 401s at token expiry.

BaseAuthManager.refresh_user is a no-op by default. KeycloakAuthManager
overrides it; FAB does not, so on FAB deployments the silent-refresh path
does nothing and UI tabs 401 every jwt_expiration_time interval.

Return the current user unconditionally for authenticated FAB sessions.
deserialize_user already re-fetches the user from DB by token['sub'], so
the object is fresh and returning it is safe.

Related: apache/airflow#57065

Report URL: https://github.com/apache/airflow/actions/runs/30807434137

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to