Skip to content

Conversation

@therepanic
Copy link
Contributor

This solves the problem that previously SAML2 logout could only be triggered from the default POST /logout. Now you can configure any endpoint/method for SAML2 logout using the DSL.

Closes: gh-10821

@therepanic
Copy link
Contributor Author

Note: the final idea proposed by @jzheaux, described here, was adopted to resolve the issue: #10821 (comment)

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 1, 2025
Comment on lines +131 to +132
private RequestMatcher logoutRequestMatcher;

Copy link
Contributor Author

@therepanic therepanic Nov 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess there is no better way than to carry the matcher in the class.

@therepanic therepanic changed the title Add logoutRequestMatcher to Saml2LogoutConfigurer for custom matching Add logoutRequestMatcher to Saml2LogoutConfigurer for custom matching Nov 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Saml2LogoutConfigurer: Use RequestMatcher from LogoutConfigurer

2 participants