1 Answer
- Newest
- Most votes
- Most comments
0
You have to also enable CORS on API Gateway itself as well AND manage it on lambda too.
On API Gateway, set allowed origins to * and keep your lambda code the same.
Later on when you want to deploy, leave API Gateway as *, but then specify your domain within the lambda function.
Let me know if this helps
answered a year ago
Relevant content
- asked 5 months ago
- asked 2 years ago
- asked 3 years ago
- AWS OFFICIALUpdated a month ago

How/where do I set it in API Gateway? The
Enable CORSoption does not seem to work.