Versions Compared

Key

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

The login, logout and sessions are handled in App Manager as follows.

Table of Contents

Handling the login scenario

...

Single logout can be incorporated when signing up to applications in WSO2 App Manager. 

Configuring App Manager

All the configurations that need to be done in App Manager  for single logout are described below.

All it takes is the specifying of the "LogOut URL" of your application and everything is taken care of by the APP Manager. One thing to note here, however is that when developing your third party web application, you should be mindful as to To configure App Manager for single logout, you only need to specify the LogOut URL of your application as depicted below.

Info

However, when developing third party web applications, do not include hard coded absolute URLs, in which case, the gateway would be bypassed and your

...

web app will get directly invoked

...

.

Image Modified

...

 

When persisting the LogOut logout URL, WSO2 App Manager converts the same in it to Gateway gateway URL , this is done so by tallying it against the "WebApp" web app URL. Hence  Hence, the Logout logout URL always need to start with Webapp URL. Please refer web app URL as shown in the below convention.

...

  • Web app URL :

...

  •  http://locahost:8080/MyWebapp

...

  • Logout URL :

...

  •  http://locahost:8080/MyWebapp/?action=logout
Info

App Manager does not require any sort of special parameters to be present in the logout request,

...

for the above

...

convention.

Configuring the web app

All The configured logout URL of the web app configurations required for single logout are listed below.As explained in Section 1, the configured log out URL should be relative, and should not contain absolute references. A sample Log Out logout link configuration on a JSP page, would be is as follows.

<li><a href=<% out.println(".?action=logout"); %>>Logout</a></li>