Try the demo — now pick the role you want to experience
Visitors land on /demo and choose Org Admin, Facility Admin, Staff, or Family. Each demo drops them into the matching portal with role-appropriate sample data.
The previous flow signed visitors in as a SUPER_ADMIN, which is the platform-operator role — almost nobody who uses Tendara day-to-day actually has that role. Visitors saw an internal-tooling dashboard instead of the experience that matches their actual job.
The new /demo page lets visitors pick the role that's closest to theirs and lands them in the right portal: Org Admin → /organization, Facility Admin → /admin, Staff → /staff, Family → /dashboard. Each role card explains who it's for and the four most interesting things they'll see in the demo.
Under the hood, /api/demo-session now accepts ?role=ORG_ADMIN|FACILITY_ADMIN|STAFF|FAMILY, looks up the matching seeded demo user (Marcus Maple's facility-admin account, Olivia Sunrise's org-admin account, etc.), mints a 1-hour read-only session, and redirects to the role-appropriate landing page. SUPER_ADMIN is intentionally not an option — visitors should experience the platform as a customer would.
Related