Collect all kinds of amazon-cognito programming exceptions and fault solutions.

Does amplify-js support google as social login for Cognito Identity Pool (CIP)?

I understand amplify-js support Social login integration to Cognito User Pool (CUP) and there are a lot of example and code snippets for this.
Can amplify-js support the following integration, i.e.,

'https://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

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