spring security 5 logouturl code example
Example: spring security not going to logout success urk
// Must permit all requests to the desired url
.and()
.logout()
.invalidateHttpSession(true)
.logoutSuccessUrl("/login?logout=true")
.permitAll().logoutUrl("/logout");