How to connect Amazon Cognito to a Content-Security-Policy

awefawef

Refused to connect to 'https://cognito-identity.us-east-1.amazonaws.com/' because it violates the following Content Security Policy directive: "connect-src 'self'

You might seen an error like this:

Connect-src needs to have https://cognito-identity.us-east-1.amazonaws.com/ in this directive to authenticate access to the Amazon Cognito Service.




Previous
Previous

How to Use Google Fonts with a Content-Security-Policy

Next
Next

How to fix AWS Amplify error: 🛑 Codegen job status is failed No UI components to generate