Skip to content

ThunderID v0.39.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 May 03:58
· 5 commits to main since this release

ThunderID ⚡

Identity Management Suite

License
GitHub last commit
GitHub issues
codecov.io

ThunderID is a modern, open-source identity management service designed for teams building secure, customizable authentication experiences across applications, services, and AI agents. It enables developers to design and orchestrate login, registration, and recovery flows using a flexible identity flow designer.

Designed for extensibility, scalability, and seamless containerized deployment, ThunderID integrates naturally with microservices and DevOps environments—serving as the core identity layer for your cloud platform.

Full Changelog: v0.38.0...v0.39.0

⚡ Quickstart

This Quickstart guide will help you get started with ThunderID quickly. It walks you through downloading and running the product, trying out the sample app, and exploring registering a user, logging in, and using the Client Credentials flow.

Download and Run ThunderID

You can run ThunderID either by downloading the release artifact or using the official Docker image.

Option 1: Run from Release Artifact

Follow these steps to download the 0.39.0 release of ThunderID and run it locally.

  1. Download the distribution from the 0.39.0 release

    OS Architecture Download Link
    macOS ARM64 (Apple Silicon) thunderid-0.39.0-macos-arm64.zip
    macOS x64 (Intel) thunderid-0.39.0-macos-x64.zip
    Linux x64 thunderid-0.39.0-linux-x64.zip
    Linux ARM64 thunderid-0.39.0-linux-arm64.zip
    Windows x64 thunderid-0.39.0-win-x64.zip
  2. Unzip the product

    Unzip the downloaded file using the following command:

    unzip thunderid-0.39.0-<os>-<arch>.zip

    Navigate to the unzipped directory:

    cd thunderid-0.39.0-<os>-<arch>/
  3. Setup the product

    You need to setup the server with the initial configurations and data before starting the server for the first time.

    If you are using a Linux or macOS machine:

    ./setup.sh

    If you are using a Windows machine:

    .\setup.ps1

    Note the id of the sample app indicated with the log line [INFO] Sample App ID: <id>. You'll need it for the sample app configuration.

  4. Start the product

    If you are using a Linux or macOS machine:

    ./start.sh

    If you are using a Windows machine:

    .\start.ps1

    The product will start on https://localhost:8090.

Option 2: Run with Docker Compose

Follow these steps to run ThunderID using Docker Compose.

  1. Download the Docker Compose file

    Download the docker-compose.yml file using the following command:

    curl -o docker-compose.yml https://raw.githubusercontent.com/asgardeo/thunder/v0.39.0/install/quick-start/docker-compose.yml
  2. Start ThunderID

    Run the following command in the directory where you downloaded the docker-compose.yml file:

    docker compose up

    This will automatically:

    • Initialize the database
    • Run the setup process
    • Start the ThunderID server

    Note the id of the sample app indicated with the log line [INFO] Sample App ID: <id> in the setup logs. You'll need it for the sample app configuration.

    The product will start on https://localhost:8090.

Try Out the Product

Try out the ThunderID Console

Follow these steps to access the ThunderID Console:

  1. Open your browser and navigate to https://localhost:8090/console.

  2. Log in using the admin credentials created during the initial data setup (admin / admin).

Try Out with the Sample App

ThunderID provides two sample applications to help you get started quickly:

  • React Vanilla Sample — Sample React application demonstrating direct API integration without external SDKs. Supports Native Flow API or Standard OAuth/OIDC.
  • React SDK Sample — Sample React application demonstrating SDK-based integration using @asgardeo/react for OAuth 2.0/OIDC authentication.
React Vanilla Sample
  1. Download the sample

    OS Architecture Download Link
    macOS ARM64 (Apple Silicon) sample-app-react-vanilla-0.39.0-macos-arm64.zip
    macOS x64 (Intel) sample-app-react-vanilla-0.39.0-macos-x64.zip
    Linux x64 sample-app-react-vanilla-0.39.0-linux-x64.zip
    Linux ARM64 sample-app-react-vanilla-0.39.0-linux-arm64.zip
    Windows x64 sample-app-react-vanilla-0.39.0-win-x64.zip
  2. Unzip and navigate to the sample app directory

    unzip sample-app-react-vanilla-0.39.0-<os>-<arch>.zip
    cd sample-app-react-vanilla-0.39.0-<os>-<arch>/
  3. Configure the sample

    Open app/runtime.json and set the applicationID to the sample app ID generated during "Setup the product":

    {
        "applicationID": "{your-application-id}"
    }
  4. Start the sample

    ./start.sh

    Open your browser and navigate to https://localhost:3000 to access the sample app.

    📖 Refer to the README.md inside the extracted sample app for detailed configuration options including OAuth redirect-based login.

React SDK Sample
  1. Download the sample

    OS Architecture Download Link
    macOS ARM64 (Apple Silicon) sample-app-react-sdk-0.39.0-macos-arm64.zip
    macOS x64 (Intel) sample-app-react-sdk-0.39.0-macos-x64.zip
    Linux x64 sample-app-react-sdk-0.39.0-linux-x64.zip
    Linux ARM64 sample-app-react-sdk-0.39.0-linux-arm64.zip
    Windows x64 sample-app-react-sdk-0.39.0-win-x64.zip
  2. Unzip and navigate to the sample app directory

    unzip sample-app-react-sdk-0.39.0-<os>-<arch>.zip
    cd sample-app-react-sdk-0.39.0-<os>-<arch>/
  3. Start the sample

    ./start.sh

    Open your browser and navigate to https://localhost:3000 to access the sample app.

    📖 Refer to the README.md inside the extracted sample app for detailed configuration and troubleshooting.

Self Register and Login (React Vanilla Sample)

The React Vanilla sample supports user self-registration and login:

  1. Open https://localhost:3000 and click "Sign up" to register a new user.

    Self Registration Username Password

  2. After registration, use the same credentials to "Sign In".

    Login to Sample App

  3. Upon successful login, you'll see the home page with your access token.

Obtain System API Token

To access the system APIs of ThunderID, you need a token with system permissions. Follow the steps below to obtain a system API token.

  1. Run the following command, replacing <application_id> with the sample app ID generated during "Setup the product."
curl -k -X POST 'https://localhost:8090/flow/execute' \
  -d '{"applicationId":"<application_id>","flowType":"AUTHENTICATION"}'
  1. Extract the executionId value from the response.
{"executionId":"<execution_id>","flowStatus":"INCOMPLETE", ...}
  1. Run the following command, replacing <execution_id> with the executionId value you extracted above.
curl -k -X POST 'https://localhost:8090/flow/execute' \
  -d '{"executionId":"<execution_id>", "inputs":{"username":"admin","password":"admin", "requested_permissions":"system"},"action": "action_001"}'
  1. Obtain the system API token by extracting the assertion value from the response.
{"executionId":"<execution_id>","flowStatus":"COMPLETE","data":{},"assertion":"<assertion>"}

Try Out Client Credentials Flow

The Client Credentials flow is used to obtain an access token for machine-to-machine communication. This flow does not require user interaction and is typically used for server-to-server communication.

To try out the Client Credentials flow, follow these steps:

  1. Create a Client Application

    Application creation is secured functionality, so you first need to obtain a system API token as mentioned in the "Obtain System API Token" section above.

    Run the following command, replacing <assertion> with the assertion value obtained from the previous step.

    curl -kL -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' https://localhost:8090/applications \
    -H 'Authorization: Bearer <assertion>' \
    -d '{
        "name": "Test Sample App",
        "description": "Initial testing App",
        "inbound_auth_config": [
            {
                "type": "oauth2",
                "config": {
                    "client_id": "<client_id>",
                    "client_secret": "<client_secret>",
                    "redirect_uris": [
                        "https://localhost:3000"
                    ],
                    "grant_types": [
                        "client_credentials"
                    ],
                    "token_endpoint_auth_method": "client_secret_basic",
                    "pkce_required": false,
                    "public_client": false,
                    "scopes": ["api:read", "api:write"]
                }
            }
        ]
    }'
  2. Obtain an Access Token

    Use the following cURL command to obtain an access token using the Client Credentials flow. Make sure to replace the <client_id> and <client_secret> with the values you used when creating the client application.

    curl -k -X POST https://localhost:8090/oauth2/token \
      -d 'grant_type=client_credentials' \
      -u '<client_id>:<client_secret>'

License

Licenses this source under the Apache License, Version 2.0 (LICENSE), You may not use this file except in compliance with the License.


(c) Copyright 2026 WSO2 LLC.