This documentation is for WSO2 Identity Server 5.1.0. View documentation for the latest release.
Page Comparison - Configuring Single Sign-On (v.38 vs v.39) - Identity Server 5.1.0 - WSO2 Documentation

Versions Compared


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


  1. You can check out the repository of the SSO sample from GitHub. Follow the instructions here to checkout the folder. 

  2. Completely replace the contents of the pom.xml file that is in the <is-samples>/modules/samples/sso directory with the following code snippet.

    Code Block
    <project xmlns="" xmlns:xsi="" xsi:schemaLocation="">
       <name>Identity Server : SSO Samples</name>
  3. In your command lineIf you haven't navigated to the sso directory via the terminal in step 2, navigate to the sso directory and build the sample using the following command. You must have Apache Maven installed to do this (see Installation Prerequisites for the appropriate version to use).

    Code Block
    cd <is-samples>/modules/samples/sso
    mvn clean install
  4. After successfully building the sample, a .war file named can be found inside the <is-samples>/modules/samples/sso/sso-agent-sample/target directory. Deploy this sample web app on a web container. To do this, use the Apache Tomcat server.


    Since this sample is written based on Servlet 3.0 it needs to be deployed on Tomcat 7.x.

    Use the following steps to deploy the web app in the web container:

    1. Stop the Apache Tomcat server if it is already running.
    2. Copy the file to the <TOMCAT_HOME>/webapps folder.
    3. Start the Apache Tomcat server.