In the following page https://docs.spring.io/spring-security/reference/servlet/authentication/logout.html, I believe it should be : ```java this.logoutHandler.logout(request, response, authentication); ``` instead of : ```java this.logoutHandler.doLogout(request, response, authentication); ``` As the logout method name of [SecurityContextLogoutHandler](https://docs.spring.io/spring-security/reference/api/java/org/springframework/security/web/authentication/logout/SecurityContextLogoutHandler.html) is `logout`. Same for Kotlin example.