This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Downloading a Sample

To be able to deploy the samples available on Identity Server, you need to download it onto your machine. 

Follow the instructions below to download the samples from GitHub.

  1. Create a folder on your local machine and navigate to it using your command line.
    Run the following commands.

    mkdir is-samples
    cd is-samples/
    git init
    git remote add -f origin https://github.com/wso2/product-is.git
    git config core.sparseCheckout true
  2. Navigate into the .git/info/ directory and list out the folders/files you want to check out using the echo command.  

    cd .git
    cd info
    echo "modules/samples/" >> sparse-checkout
  3. Checkout the v5.1.0 tag to update the empty repository with the remote one. 

    git checkout -b v5.1.0 v5.1.0 

    Access the samples by navigating to the <is-samples>/modules /samples directory.