POST/api/auth/loginVerifies the provided credentials and returns a signed JWT containing the userId and tenantId. Use the returned token to authenticate all subsequent requests to protected endpoints.
Store the token in localStorage (or a secure cookie) after login, then attach it to every protected request as Authorization: Bearer <token>.