Skip to content

fix: send the backchannel logout event only if a session exists#2410

Draft
fschade wants to merge 1 commit intoopencloud-eu:mainfrom
fschade:send-backchannel-event-only-in-session-mode
Draft

fix: send the backchannel logout event only if a session exists#2410
fschade wants to merge 1 commit intoopencloud-eu:mainfrom
fschade:send-backchannel-event-only-in-session-mode

Conversation

@fschade
Copy link
Member

@fschade fschade commented Feb 27, 2026

Description

The backchannel logout event should only be send if a session is known/identified, if not (only the subject is known) we wait till the oidc token expires. The behavior is still not perfect, this is open for discussion how we handle such cases, cc: @rhafer

Related Issue

Motivation and Context

The logout event was sent to all clients even if the session still existed in the IDP, which resulted in the "re-login" page being displayed in the web client even though the session was still active.

How Has This Been Tested?

  • unit tests
  • ci
  • local tests (local keycloak)

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation added

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant