79747776

Date: 2025-08-27 09:32:28
Score: 1
Natty:
Report link

I understand your concern, and I have recently successfully implemented the Lambda@Edge with Amazon Cognito regardless lot of limitations.

Few thinks to consider, avoid unnecessary other AWS calls, try to stick with only auth logic, and if needed separate the logic in different lifecycles, e.g. Viewer request, Origin request etc.

Here’s a step-by-step guide I wrote that walks through the full flow: https://ykhatri.dev/posts/step-by-step-guide-setting-up-lambda-at-edge-for-authentication-and-authorization-with-amazon-cognito/.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Yougeshwar Khatri