ITS52 Mock Portal — dev only

This page emulates the real its52.com homepage. Clicking a user encrypts the seeded ITS payload with the mock PassKey and bounces to the production callback route. Same crypto, same code path — only the originator is fake.

ITS52 Mock Portal

Pick a user to simulate signing in as. Each row triggers the same callback flow that ITS will use in production.

US region — region: us (us-mhc)

The mock submits with dest=us, so the callback skips routing and logs in locally — exactly what a member forwarded here from the UK front door experiences.

PassKey: MOCK_DEV_KEY1·Callback: /api/auth/its/callback

Staff

Pre-provisioned via the seed. Resolves to the existing row and assigns the pre-provisioned role(s).

US Admin Demo (admin role)

60000001,US Admin Demo,M,39,Houston_Jamaat,Houston,31

Expected landing: /admin

Dispatcher: dest=us → local US login

US Dr. Provider Demo (provider role)

60000002,US Provider Demo,F,41,Chicago_Jamaat,Chicago,32

Expected landing: /provider

Dispatcher: dest=us → local US login

US Logistics Demo (logistics role)

60000005,US Logistics Demo,M,31,Houston_Jamaat,Houston,31

Expected landing: /admin/queue

Dispatcher: dest=us → local US login

US Triage Lead Demo (triage_lead role)

60000006,US Triage Demo,F,36,Chicago_Jamaat,Chicago,32

Expected landing: /provider/triage

Dispatcher: dest=us → local US login

Patients (already onboarded)

Seeded patients with completed intake. Sign-in skips registration and lands on the patient dashboard.

US Patient Demo (60000011) — existing intake

60000011,US Patient Demo,M,29,Houston_Jamaat,Houston,31

Expected landing: /patient

Dispatcher: dest=us → local US login

Brand-new patients (NOT in the DB)

No user row exists yet. The callback auto-creates a users + patients row from the ITS data and drops the user on onboarding.

US Brand-new patient (skip step 1)

60000099,US New Member,F,27,Chicago_Jamaat,Chicago,32

Expected landing: /patient/onboarding

Dispatcher: dest=us → local US auto-create

When ITS is live

  • Set ITS52_PASSKEY in the production env to the real PassKey from ITS.
  • Leave ITS_MOCK_ENABLED unset (or =0) in production. This page will 404.
  • Submit the Return URL https://mhc.umoorsehhat.com/api/auth/its/callback on the ITS_OneLogin_APIForm.docx.
Mahal Us Shifa