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

1 Respuesta
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

profile picture
EXPERTO
iwasa
respondido hace 2 años
  • Does your authorizer require access to VPC resources, e.g., RDS? If not, there is no reason to attach it to a VPC.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas