BillingPro Practice Management

Logged in as: Alice (Sunrise Family Medicine)  |  Practice: prac-001

Billing Support Chat Demo

This page simulates a SaaS application that has already authenticated the user. On page load, the server called the token endpoint and injected a signed JWT below. The chatbot widget reads this token and includes it on every API call — the user never touches it.

JWT Status
✓ Token minted successfully
Injected JWT (window.BILLING_TOKEN)
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwcmFjdGljZV9pZCI6InByYWMtMDAxIiwidXNlcl9pZCI6InVzZXItYWxpY2UiLCJ1c2VyX25hbWUiOiJBbGljZSAoU3VucmlzZSBGYW1pbHkgTWVkaWNpbmUpIiwiaWF0IjoxNzc3MzEwNzA3LCJleHAiOjE3NzczMTQzMDd9.xD460vjVyA7vTijKR5HB4950nKXzU-FUvl81Mq7PIKQ

This value is server-rendered. A user editing it in DevTools cannot change practice_id inside it — the signature will fail and the API returns 401.

Switch Demo Practice

Simulates logging in as a different practice user. Each switch calls /auth/token server-side and re-renders the page with a new token.