Skip to content

Return a logout response with an error status when validation of the logout request fails #14635

@1livv

Description

@1livv

Expected Behavior
Saml2LogoutRequestFilter should return a logout response back to the user agent when validation errors happen.
This would allow the logout flow to continue to other SPs involved in the session and not block the user agent.
see https://docs.oasis-open.org/security/saml/v2.0/saml-profiles-2.0-os.pdf#1161 for more details.

Current Behavior

Right now Saml2LogoutRequestFilter terminates the logout flow when an error happens
see Saml2LogoutRequestFilter#122 and so on.
It should instead construct a logout response with an appropriate status and pass that along the user agent.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions