...
To configure WSO2 App Manager for single logout, select Enable Single Logout in the Step 2 - Policies section of creating a Web app, and specify the logout URL of your app as shown below.
WSO2 App Manager internally converts the Web app URL to a gateway URL. When persisting the logout URL, WSO2 App Manager converts it to a gateway URL by the logout acton is appended to the gateway URL by tallying it against the Web app URL. Therefore, you you need to enter the complete logout URL starting with (including the Web app URL).
For example, if your your Web app URL is http://locahost:8080/MyWebapp
, the enter the logout URL as follows: http://locahost:8080/MyWebapp/?action=logout
.
Configuring the Web app
In the Web app, if you have any absolute references configured in the logout URL, then WSO2 App Manager will directly invoke the Web app by-passing the gateway. Therefore, you need to configure the logout URL as a relative reference. For example, a sample logout link configuration with a relative reference on a JSP page, is as follows.
...