I have a Spring Boot application which is configured as an OAuth2 Client in ForgeRock AM. The application is protected in Spring Boot and delegates authentication to Forgerock AM on accessing the protected URL’s. The application using the OAuth2 Authorisation Grant Flow.
In my Spring boot application I have implemented Logout which clears down the session context in Spring Boot.
How can I issue a request to ForgeRock AM to logout to destroy the session that is created and the cookie from my spring logout?