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.

Original post →

More from Infra

Infra channel →