OpenID Connect Logout Options with Spring Boot

@bdemers,

While debugging we saw that: org.springframework.security.oauth2.client.oidc.web.logout.OidcClientInitiatedLogoutSuccessHandler#determineTargetUrl method is called

1- With httpBasic
‘authentication’ parameter is an instance of org.springframework.security.authentication.UsernamePasswordAuthenticationToken, while the expected type is: org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken

2- After removing httpBasic
‘authentication’ parameter is null, while the expected type is: org.springframework.security.oauth2.client.authentication.OAuth2AuthenticationToken

A Filter Chain is executed and it is unclear what determines authentication object type, how to debug further?