Servers
Run the API locally athttp://localhost:8000 using the repository’s backend instructions. The generated OpenAPI document does not declare a server URL. The repository does not establish a development or production API hostname.
Authentication
Protected routes declare theEntraBearer HTTP bearer scheme. The backend validates a Microsoft Entra JWT signature, issuer, audience, expiry, and required claims, including roles. A missing or invalid token receives HTTP 401; a token without an allowed role receives HTTP 403.
Customer-only claim reads hide another customer’s claim with HTTP 404. The local configuration permits a synthetic identity with all three roles when
APP_ENV=local and no bearer token is supplied. This behavior is for local development.
The Stripe webhook at POST /v1/webhooks/stripe does not use Entra bearer authentication. It verifies the Stripe-Signature header against the configured signing secret. Both health routes are public.