Skip to main content

See It in a Sample App

Wayfinder is the reference implementation for secure consumer access: a customer-facing travel application that runs each journey in this section against ThunderID.

Cast

These sample users appear throughout the walkthroughs, one per journey.

ConsumersJohn DoeReturning travellerSigns in, manages his profile,and recovers his passwordJane SmithReturning travellerSigns in and books tripsas an existing customerEmma WilsonNew travellerSigns up with email and passwordStaffAlex CarterOperations adminOnboards internal staff from the consoleSam RiveraSupport agentHelps users with support requestsMaya PatelDestinations curatorManages destination content

Architecture

The Wayfinder sample has three main parts: a consumer web application, a booking API, and ThunderID as the identity platform. The diagram shows where identity journeys run and where tokens are used after sign-in.

ConsumersJohnJaneEmmaWayfinder WebWhere consumers sign in and bookDelegates auth to ThunderID;carries tokens to the APISign-in flowOIDC / OAuth 2.0ThunderIDIdentity providerSigns users in and issues tokensAuthenticatedAPI callsWayfinder ServerBooking APIValidates access tokens andserves booking dataAdmin consoleStaff / AdminsAlexSamMaya

Import the Bundle

The fastest way to create the resources the walkthroughs need. First, set up your environment; then apply the bundle through the ThunderID Console, which creates everything the walkthroughs share.

Prefer to build each resource by hand and understand it as you go? Work through the Build It tutorial instead.

  1. Sign in to the ThunderID Console at https://localhost:8090/console.
  2. On first sign-in, a welcome screen appears with an Open button. (Later, reach the same screen from the user profile menu in the top-right corner of the Console.)
  3. Click Open and select your thunderid-config/redirect/thunderid-config.yaml file from the sample distribution.
  4. Select your thunderid-config/redirect/thunderid.env file to provide the environment variables referenced in the YAML.
  5. The Console imports the files and reports the resources it created when the import completes.

Run the Sample

From the extracted sample directory, install dependencies:

npm install

Then start all services:

npm run dev

The sample opens at http://localhost:5173.

Walkthroughs

After the sample is running, pick the journey you want to inspect:

Next Steps

Explore with AI

ThunderID LogoThunderID Logo

Product

DocsAPIsSDKs
© Copyright Linux Foundation Europe.For web site terms of use, trademark policy and other project policies please see https://linuxfoundation.eu/en/policies.