By using AWS re:Post, you agree to the Terms of Use
/http lambda authorizer external api calls/

http lambda authorizer external api calls


i'm creating a http lambda authorizer in a custom VPC with a private isolated subnet and i'm trying to verify the token,
the issue is when i try to get the public key from the provider JWKs (auth0) the request times-out

1 Answers


You need to add a public subnet, configure a NAT gateway (or NAT instance), and allow the Internet outbound of your private subnet's Lambda function by using NAT.

answered a month ago
  • Does your authorizer require access to VPC resources, e.g., RDS? If not, there is no reason to attach it to a VPC.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions