Amazon API Gateway REST APIs now support JWT authorizers

Amazon API Gateway JWT Authorizer
Amazon API Gateway now offers a native JWT authorizer for REST APIs, validating JSON Web Tokens directly in the gateway. This eliminates the need for a Lambda authorizer for tokens from OpenID Connect or OAuth 2.0 identity providers other than Amazon Cognito.
What to do
- Configure token validation settings in API Gateway.
- Define issuers, audiences, signing algorithms, and additional claims.
- Attach the authorizer to multiple methods with different scopes.
This new authorizer type is suitable for machine-to-machine APIs, mobile and web backends, and multi-tenant APIs accepting tokens from multiple identity providers.
Availability
The JWT authorizer is available in all commercial AWS Regions and the AWS GovCloud (US) Regions on Regional, edge-optimized, and private REST APIs.
Source: AWS release notes
If you need further guidance on AWS, our experts are available at AWS@westloop.io. You may also reach us by submitting the Contact Us form.


