http lambda authorizer external api calls
0
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
asked a month ago33 views
1 Answers
1
Hi.
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.
https://aws.amazon.com/premiumsupport/knowledge-center/internet-access-lambda-function/?nc1=h_ls
Relevant questions
Is it possible to throw custom error message from API Gateway Lambda Authorizer
asked 2 months agohttp lambda authorizer external api calls
asked a month agoReturn a custom header from lambda authorizer in API-gateway (HTTP api)
asked a month agohttp authorizer lambda permissions
Accepted Answerasked 3 months agoIs it possible to update the user-defined authorizer context (i.e., event.requestContext.authorizer.context) after the initial authorizer lambda has already run?
asked 7 months agoCan I use API Gateway cache invalidation with a custom authorizer ?
asked 5 months agoAWS IoT Custom Authorizer Not working for HTTP GET GetRetainedMessage
asked 4 months agoattach lambda authorizer to http API
asked 3 months agoAccess lambda in custom VPC from public API Gateway
Accepted Answerasked 5 months agoLambda Authorizer with API Key enabled on API Gateway
asked 3 months ago
Does your authorizer require access to VPC resources, e.g., RDS? If not, there is no reason to attach it to a VPC.