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.eyJwcmFjdGljZV9pZCI6InByYWMtMDAxIiwidXNlcl9pZCI6InVzZXItYWxpY2UiLCJ1c2VyX25hbWUiOiJBbGljZSAoU3VucmlzZSBGYW1pbHkgTWVkaWNpbmUpIiwiaWF0IjoxNzgyNDkxODI3LCJleHAiOjE3ODI0OTU0Mjd9.qNKwrGMkVhMGWFy2PtCDf6-7WN0-6vCRpItp4TQy9JA

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.