Home icon

Securing REST APIs with JWT authorizers in Amazon API Gateway

Compute Blog



This article announces JWT authorizers for Amazon API Gateway REST APIs, which validate JSON Web Tokens from OIDC-compatible identity providers directly in API Gateway without requiring Lambda functions.

  • JWT authorizers validate tokens inline in API Gateway, eliminating the need for Lambda authorizers for token validation
  • Configure trusted issuers, audiences, signing algorithms, and additional claim requirements in the authorizer
  • Support scope-based authorization on individual methods to enforce different permissions for read and write operations
  • Trust up to 10 issuers simultaneously, enabling gradual migration between identity providers
  • API Gateway returns 401 for invalid tokens and 403 for valid tokens lacking required scopes
  • Supports multiple identity providers including Okta, Auth0, Microsoft Entra ID, and Amazon Cognito
  • Available on Regional, edge-optimized, and private REST APIs across all commercial AWS Regions

JWT authorizers simplify REST API security by validating tokens at the API Gateway level, reducing operational complexity compared to Lambda-based authorization.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Nov 21
2025
Enhancing API security with Amazon API Gateway TLS security policies
Nov 20
2025
Amazon API Gateway now supports additional TLS security policies for REST APIs
Jun 7
2024
Amazon API Gateway customers can easily secure APIs using Amazon Verified Permissions
Apr 24
2024
Authorize API Gateway APIs using Amazon Verified Permissions with Amazon Cognito or bring your own identity provider

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.