I am working on AWS Cognito to authenticate APIs and using Amazon Cognito Identity JS with amplify. I added authorizer in API Gateway and it gives me error of cors when i login with cognito users but without authorizer it workes fine.
here is the error.

You should set CORS details on your API services with "Enable CORS" and add your authorization header name here.
Added a chrome extension named Moesif CORS to temporarily solve this problem. Didn't find a proper solution yet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With