This is a Server-Sent Events server example that requires OAuth authorization.
/api/health - Health check/api/token/{token_id} - Get test token (available: demo, test)/sse - SSE connection endpoint (requires authorization)/message - Message sending endpoint (requires authorization)
# Get a token
curl http://127.0.0.1:8000/api/token/demo
# Connect to SSE using the token
curl -H "Authorization: Bearer demo-token" http://127.0.0.1:8000/sse