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.
