Missing
Authorization headerGateway rejects request with 401. Ensure frontend attaches
Bearer token.Authorization: Bearer <token>
or
X-API-Key: <key>
curl -H "Authorization: Bearer eyJ..."
X-Auth-Code or Authorization
Authorization headerBearer token.iat and exp claims.X-API-Key but frontend sends API-Key or X-Api-Key (case matters).Access-Control-Allow-Headers includes them.