Repository navigation
Thunder v0.24.0
Pre-releaseWSO2 Thunder ⚡
Identity Management Suite
Thunder 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, Thunder integrates naturally with microservices and DevOps environments—serving as the core identity layer for your cloud platform.
What's Changed
⚠️ Breaking Changes
- Refactor resource package to remove int based FK reference by @KaveeshaPiumini in #1557
- Implement Schema-driven credential attributes logic by @DonOmalVindula in #1552
- Remove INT ID column in DB Schema by @KaveeshaPiumini in #1547
- Refactor flow/mgt package to remove int based FK reference by @KaveeshaPiumini in #1584
🚀 Features
- Implement Schema-driven credential attributes UI by @DonOmalVindula in #1560
- Integrate system authz for OU package by @senthalan in #1534
- Integrate system authz for user package by @senthalan in #1575
- Integrate system authz for user schema package by @senthalan in #1602
✨ Improvements
- fixed: unit testcase failure in observability package by @sacrana0 in #1423
- Add pagination support for Organization Unit tree picker by @DonOmalVindula in #1492
- Update Oxygen UI version to 0.7.0 release along with few bug fixes and test coverage improvements by @jeradrutnam in #1465
- Update list table to oxygen UI ListingTable.DataGrid.Card component by @jeradrutnam in #1505
- Onboard system authorization core by @senthalan in #1500
- Add edit/view icons to Applications, Users, UserTypes listings by @jeradrutnam in #1529
- Notification service context propagation and transection usage by @JeethJJ in #1535
- IDP service context propagation and transection usage by @JeethJJ in #1548
- Improve thunder docs landing page by @DonOmalVindula in #1470
- Move transaction initialization logic to init.go by @JeethJJ in #1541
- Support configurable OAuth UserInfo response_type (JSON/JWS) with JWS signing implementation by @nandhu-kumar in #1362
- Support storing application metadata and passing metadata to authn provider by @ThumulaPerera in #1559
- Improve OAuth handler-service layer separation by @thiva-k in #1509
- Add credential input field for user creation wizard by @DonOmalVindula in #1572
- Support composite store for roles by @rajithacharith in #1532
- Update the default resource limits and requests in helm chart by @rajithacharith in #1573
- Resolve context conflicts in nodecontext and enginecontext by @JeethJJ in #1571
- Improve styling in thunder-docs landing pages by @DonOmalVindula in #1576
- Composite store support for IdP by @rajithacharith in #1401
- Support composite store for resource service by @rajithacharith in #1530
- Add composite store support for user schemas by @rajithacharith in #1570
- Add access token validator for userinfo by @thiva-k in #1590
- Onboard Action wise system authz policy by @senthalan in #1577
- Add ID token in refresh token grant flow by @thiva-k in #1585
- Add composite store support for themes and layouts by @rajithacharith in #1600
- Define structure for requested attributes by @ThumulaPerera in #1574
- Add composite store support for users by @rajithacharith in #1607
🐛 Bug Fixes
- Support registration in authz executor by @rajithacharith in #1145
- Fix authnprovider dependency in auth assert executor by @ThumulaPerera in #1549
- Add meta for default-basic-passkey-flow by @KaveeshaPiumini in #1533
- Add missing attributes in application yaml mapping by @rajithacharith in #1563
- Add
at+jwtin access token header by @thiva-k in #1588
New Contributors
- @DharshanSR made their first contribution in #1531
- @nandhu-kumar made their first contribution in #1362
Full Changelog: v0.23.0...v0.24.0
⚡ Quickstart
This Quickstart guide will help you get started with WSO2 Thunder 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 WSO2 Thunder
You can run WSO2 Thunder 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.24.0 release of WSO2 Thunder and run it locally.
-
Download the distribution from the 0.24.0 release
OS Architecture Download Link macOS ARM64 (Apple Silicon) thunder-0.24.0-macos-arm64.zip macOS x64 (Intel) thunder-0.24.0-macos-x64.zip Linux x64 thunder-0.24.0-linux-x64.zip Linux ARM64 thunder-0.24.0-linux-arm64.zip Windows x64 thunder-0.24.0-win-x64.zip -
Unzip the product
Unzip the downloaded file using the following command:
unzip thunder-0.24.0-<os>-<arch>.zip
Navigate to the unzipped directory:
cd thunder-0.24.0-<os>-<arch>/
-
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. -
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 WSO2 Thunder using Docker Compose.
-
Download the Docker Compose file
Download the
docker-compose.ymlfile using the following command:curl -o docker-compose.yml https://raw.githubusercontent.com/asgardeo/thunder/v0.24.0/install/quick-start/docker-compose.yml
-
Start Thunder
Run the following command in the directory where you downloaded the
docker-compose.ymlfile:docker compose up
This will automatically:
- Initialize the database
- Run the setup process
- Start the Thunder 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 Developer Console
Follow these steps to access the Developer Console:
-
Open your browser and navigate to https://localhost:8090/develop.
-
Log in using the admin credentials created during the initial data setup (
admin/admin).
Try Out with the Sample App
Thunder 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/reactfor OAuth 2.0/OIDC authentication.
React Vanilla Sample
-
Download the sample
OS Architecture Download Link macOS ARM64 (Apple Silicon) sample-app-react-vanilla-0.24.0-macos-arm64.zip macOS x64 (Intel) sample-app-react-vanilla-0.24.0-macos-x64.zip Linux x64 sample-app-react-vanilla-0.24.0-linux-x64.zip Linux ARM64 sample-app-react-vanilla-0.24.0-linux-arm64.zip Windows x64 sample-app-react-vanilla-0.24.0-win-x64.zip -
Unzip and navigate to the sample app directory
unzip sample-app-react-vanilla-0.24.0-<os>-<arch>.zip cd sample-app-react-vanilla-0.24.0-<os>-<arch>/
-
Configure the sample
Open
app/runtime.jsonand set theapplicationIDto the sample app ID generated during "Setup the product":{ "applicationID": "{your-application-id}" } -
Start the sample
./start.sh
Open your browser and navigate to https://localhost:3000 to access the sample app.
📖 Refer to the
README.mdinside the extracted sample app for detailed configuration options including OAuth redirect-based login.
React SDK Sample
-
Download the sample
OS Architecture Download Link macOS ARM64 (Apple Silicon) sample-app-react-sdk-0.24.0-macos-arm64.zip macOS x64 (Intel) sample-app-react-sdk-0.24.0-macos-x64.zip Linux x64 sample-app-react-sdk-0.24.0-linux-x64.zip Linux ARM64 sample-app-react-sdk-0.24.0-linux-arm64.zip Windows x64 sample-app-react-sdk-0.24.0-win-x64.zip -
Unzip and navigate to the sample app directory
unzip sample-app-react-sdk-0.24.0-<os>-<arch>.zip cd sample-app-react-sdk-0.24.0-<os>-<arch>/
-
Start the sample
./start.sh
Open your browser and navigate to https://localhost:3000 to access the sample app.
📖 Refer to the
README.mdinside 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:
-
Open https://localhost:3000 and click "Sign up" to register a new user.
-
After registration, use the same credentials to "Sign In".
-
Upon successful login, you'll see the home page with your access token.
Obtain System API Token
To access the system APIs of Thunder, you need a token with system permissions. Follow the steps below to obtain a system API token.
- 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"}'- Extract the
flowIdvalue from the response.
{"flowId":"<flow_id>","flowStatus":"INCOMPLETE", ...}- Run the following command, replacing
<flow_id>with theflowIdvalue you extracted above.
curl -k -X POST 'https://localhost:8090/flow/execute' \
-d '{"flowId":"<flow_id>", "inputs":{"username":"admin","password":"admin", "requested_permissions":"system"},"action": "action_001"}'- Obtain the system API token by extracting the
assertionvalue from the response.
{"flowId":"<flow_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:
-
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"] } } ] }'
-
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 2025 WSO2 LLC.

