@Goutam Pratti
Thank you for your response
During the normal AAD logout process, users typically see a sign-out UI,
And after a few seconds when it completes, AAD sends a /logout_response request to Keycloak to complete the logout.
However, if the process is interrupted—such as when a user closes the browser tab before AAD completes the logout—AAD still terminates the session on its end but does not send a logout request to Keycloak. This results in an inconsistent state where the Keycloak session remains active.
And if user attempts to logout again, they will see the following UI suggests that they have been logout from AAD, but the session from Keycloak is still active.
Given this behavior, I would expect AAD to implement a rollback mechanism in case of an interrupted logout, preserving the session instead of partially completing the process and disrupting authentication workflows in systems like Keycloak.
Are there any upcoming updates or workarounds that address this issue? Is there a recommended way to detect and handle incomplete logouts at the IdP level?