Onboarding Test Page

Current Auth State

Authenticated: No

User: None

Test Scenarios

👩‍⚕️ Manual Physician Setup

Physician status is now managed manually through Auth0 user metadata. To set a user as a physician:

  1. Log into your Auth0 Dashboard
  2. Navigate to User Management → Users
  3. Find the user and edit their metadata
  4. Set user_metadata.userType = "physician"
  5. Save the changes

Payment Flows: Patients will be directed through the payment process, while physicians will use the existing usage credit system.

Testing Instructions

1. Test Pages Directly: Use the navigation buttons above to test each onboarding page.

2. Test Form Interactions: On the Data Check page, toggle between Patient/Physician to see the AFC question appear/hide.

3. Test Guidance Features: On the Guidance page, test the FAQ expansion and external links.

4. Test OnboardingGuard: Click "App (with OnboardingGuard)" to see the guard in action.

5. Test with Real Auth0: If you have Auth0 configured, try logging in to test the full flow.