aws-samples / retail-demo-store

AWS Retail Demo Store is a sample retail web application and workshop platform demonstrating how AWS infrastructure and services can be used to build compelling customer experiences for eCommerce, retail, and digital marketing use-cases
MIT No Attribution
727 stars 516 forks source link

Add API Gateway Lambda Authorizer to Locations API #485

Closed gfaires closed 1 year ago

gfaires commented 1 year ago

Issue #, if available:

484

Description of changes: Add a Lambda authorizer to the connect endpoint of locations API - it performs a simple origin check.

Description of testing performed to validate your changes (required if pull request includes CloudFormation or source code changes): Deployed CFN template.
Tested frontend deployment and local test

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.