securylight opened a new pull request, #70593: URL: https://github.com/apache/airflow/pull/70593
Core's `/auth/logout` (#67289) revokes the current JWT before redirecting to the auth manager's logout URL. FabAuthManager's and KeycloakAuthManager's own `/auth/logout` routes don't do the same before redirecting to the IdP, so a token stays valid if that route is reached directly. This adds the same `revoke_token()` call to both, for consistency. ## Test plan - [x] Added `test_logout_revokes_token` / `test_logout_without_token_cookie_does_not_revoke` for both providers - [x] Existing logout tests still pass --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Sonnet 5) Generated-by: Claude Code (Sonnet 5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
