Files
opencloud/services/proxy/pkg/staticroutes
zerox80 faabeaebdc feat(proxy): add backchannel logout markers
Add a store-backed record of verified backchannel logouts. A marker holds
the iat of the logout token as a cutoff, for a session or, if the logout
token has no sid, for a subject. A token is covered if it belongs to the
marked session or subject and was issued at or before the cutoff.

Tokens issued later stay valid. Keycloak keeps issuing tokens with the same
sid to a client with an offline token after a logout, and reuses the sid for
a new login after a consent revocation, so a plain session marker would lock
those clients out until it expires.

Using the iat of the logout token means both timestamps come from the IDP
clock, and replaying a logout token cannot change the cutoff.
2026-11-10 22:27:37 +01:00
..