AWS API Gateway REST APIs now natively validate JWTs, no Lambda authorizer needed
FlolightC · x · 2026-11-28
AWS announced native JWT authorizers for API Gateway REST APIs. Previously, REST APIs only accepted Amazon Cognito tokens out of the box, forcing teams using Okta, Auth0, Entra ID or other OIDC providers to write Lambda authorizers that fetched signing keys, validated tokens and returned IAM policies.
Now you declare trusted issuers, accepted audiences, allowed signing algorithms and required claims directly in API Gateway, which validates tokens in-line — no Lambda invocation in the request path. It works on Regional, edge-optimized and private REST APIs. Lambda authorizers remain the right choice for custom logic, token introspection or non-JWT credentials. The AWS Compute Blog post includes a full walkthrough: a REST API accepting machine-to-machine tokens with scope-based read/write enforcement, plus adding a Cognito user pool as a second trusted issuer.
More from Infra
- Dev runs 7-second build bot for free on Cloudflare Durable Objects — aloncarmel · 2026-11-28
- Ege Erdil: Next 3 Years to Cross Far More OOMs of Effective Compute Than Later Years — __nmca__ · 2026-11-28
- Daytona at $1B, Modal at $4.65B: why 'sandboxes are dead' for long-lived agents — asdfghmfker · 2026-11-28
- Visualized: only 29% of Anthropic's compute serves external users — jacob_posel · 2026-11-28
- China Telecom trains 285B open model Xing4.1 on 8,192 Huawei Ascend chips — no NVIDIA — an2ancan · 2026-11-28
- Analysis: ~75% of Anthropic's compute is non-customer training, and 2027 looks wild — sebpaquet · 2026-11-28