Closed
Description
Hello,
In my configuration, I have set clientAuthenticationMethod(ClientAuthenticationMethod.NONE)
, also I have
.tokenRevocationEndpoint(
(OAuth2TokenRevocationEndpointConfigurer tokenRevocationEndpoint) -> tokenRevocationEndpoint
.revocationResponseHandler((HttpServletRequest request, HttpServletResponse response, Authentication authentication) -> {
// my logic
response.setStatus(HttpStatus.OK.value());
})
)
It seems neither revocationResponseHandler
is called nor OAuth2TokenRevocationEndpointFilter.doFilterInternal
.
They are called if I use clientAuthenticationMethod(ClientAuthenticationMethod.CLIENT_SECRET_POST)
.
I was wondering if it is a bug or token revocation cannot be done in case the client is Public.
Regards