Skip to main content

Back-Channel Logout receiver

The Back-Channel Logout receiver implements the OpenID Connect Back-Channel Logout 1.0 RP-side receiver endpoint. It accepts a signed logout_token JWT from an external OpenID Provider, validates the signature, claims, and JTI replay, then terminates the matching local session(s). A session terminated via this endpoint does trigger downstream BCL sender when that session is itself an OP with registered clients (identity-broker cascade, OpenID BCL §2.7). A pure RP session has no ch.nevis.session.oidc.sid and no tracked clients, so nothing is sent. The cascade cannot loop back onto the session that received the token: the receiver matches ch.nevis.session.rp.oidc.sid / ch.nevis.session.rp.oidc.sub, never the OP-issued ch.nevis.session.oidc.sid carried in the logout token this instance then sends. All responses include Cache-Control: no-store as required by the specification.