Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For example, if 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 As already mentioned in the best practices section, when proxying through app manager, the webapps should not contain any hard coded resource paths. Same applies for log out URLs. If the resource path configured for the logout action of your web application is absolute, the app manager gateway would be by passed and the direct URL, would be invoked, if this is the case, the action sequence for logout will not be triggered.

A sample logout link configuration with a relative reference on a JSP page, is as follows.

...