This documentation is for WSO2 Identity Server 5.0.0. View documentation for the latest release.
Page Comparison - Running an STS Client (v.3 vs v.4) - Identity Server 5.0.0 - WSO2 Documentation

Versions Compared


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


Running the STS client

  1. The code for the sample client can be checked out from here. For more information, see Downloading a Sample topic. 

    Code Block a folder in your local machine and navigate to it using your command line.
  2. Download the Java sample by entering the following.The location of this folder will be referred to as <SAMPLE_HOME> from this point onwards.

    Code Block
    svn co
  3. Build the client using using the command mvn install.

  4. Once the client is built successfully, run the file in Unix or sts-client.bat in Windows. You can see that the SAML token issued from the STS is being printed by the client.


    The "connection refuse" error occurs in a situation where the STS client attempts to send the received SAML token to a service that is not running in this case.