<!doctype html>
<html>
 <head> 
  <meta charset="UTF-8"> 
 </head>
 <body>
  <div>
   Hi,
   <br>for the logout of the IdP must we always invoke the endpoint "/profile/Logout" which makes us pass through logout.vm?
   <br>Due to other specific operations to be carried out during the logout phase, we have written a custom Java Servlet in which to manage the logout (with another endpoint to call) .
   <br>At the end of the procedure we delete every cookie and attribute in the session and invalidate the session, but after our custom logout the user is still authenticated.
   <br>Is there something we're missing that we can call in Java to log out programmatically? Something similar to ExternalAuthentication.startExternalAuthentication and ExternalAuthentication.finishExternalAuthentication for the login custom?
  </div> 
  <div>
    
  </div> 
  <div>
   We have idp version 4.
  </div> 
  <div>
    
  </div> 
  <div>
   Thanks
  </div> 
  <div>
   Domenico
  </div>
 </body>
</html>