Skip to main content

Setup and Data Seeding

ThunderID provides two different data seeding paths, depending on how the system is initialized.

CommandUse CaseSeeded Data
make runSource developmentDefault resources
./setup.shDeployment / release initializationDefault resources

Development Seeding (make run)

For development environments, make run executes the backend/cmd/server/bootstrap/01-default-resources.sh bootstrap script, which seeds the core resources required to start the server and access the console:

  • Default Organization Unit
  • Default User Type (Person)
  • Admin user (credentials default to admin / admin; configurable via ADMIN_USERNAME / ADMIN_PASSWORD environment variables)
  • System resource server with system actions and permissions
  • Administrator role and role assignment
  • Console application

Full Bootstrap (./setup.sh)

For release artifacts and deployment environments, ./setup.sh performs a one-time initialization:

  1. Starts ThunderID temporarily with SKIP_SECURITY=true
  2. Waits until the server becomes ready (/health/readiness)
  3. Executes all scripts in the ./bootstrap directory in filename order
  4. Stops the temporary server after initialization is complete

Bootstrap Scripts:

  • 01-default-resources.sh — Seeds the core identity resources (same as development seeding above)

In short:

  • Use make run when running ThunderID from source.
  • Use ./setup.sh when initializing a fresh runtime environment with the full bootstrap data.
ThunderID LogoThunderID Logo

Product

DocsAPIsSDKs
© WSO2 LLC. All rights reserved.Privacy PolicyCookie Policy