GET /api/health require a valid Supabase JWT passed as a
Bearer token in the Authorization header.
Authentication is currently in stub mode (HEDGE-31). Any Bearer token is accepted.
Real Supabase JWT verification will be added when HEDGE-31 is implemented.
Obtaining a token
Sign in via the Supabase Auth API for your project:access_token — use this as your Bearer token.
Token lifetime
Supabase JWTs are valid for 1 hour by default. The game client should handle token refresh automatically using the Supabase JS client.Error response
If the token is missing or invalid, the API returns:401 Unauthorized.