@jzheaux I have implemented SMAL2 login and logout using Spring Security 6.0.1. I have followed https://github.com/spring-projects/spring-security/issues/12111#issuecomment-1297239583 to override SAML2 logout successful URL.
I am facing 401 (Unauthorized - logout/saml2/slo?SAMLResponse=nVI7b4M....) error after successful logout from the IDP.
http .logout((logout) -> logout.logoutSuccessUrl("/myLogoutSuccessUrl")) .saml2Logout(Customizer.withDefaults())
How can I redirect the custom logout url after successful SAML2 logout? Please guide me on this.
Comment From: jzheaux
Thanks for getting in touch, @balajignanamoorthy! Sorry that you are having trouble. It feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question and I'm happy to help over there.