- 최신
- 최다 투표
- 가장 많은 댓글
The error message you provided indicates that there is a Content Security Policy (CSP) violation preventing the connection to the Cognito Identity Provider (cognito-idp) endpoint in the eu-north-1 (Stockholm) region. This could be due to a misconfiguration or restriction in your application's CSP settings.
Resolution
To resolve this issue, you need to update the CSP directive to include the necessary connect sources for the Cognito user pool in the Stockholm region. The connect sources are the URLs or domains that your application is allowed to connect to.
Based on the error message, you're using AWS AppSync, so you should update the CSP directive in your application's configuration related to AppSync.
Once you've updated the CSP directive, try accessing the Cognito user pool in the Stockholm region again. It should no longer give you the "no user pools in this region" error, and the connection to the cognito-idp endpoint should be allowed.
Remember to review and adjust your CSP settings carefully to ensure they align with your application's security requirements.
For more information on adding security headers please see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/example-function-add-security-headers.html
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 일 년 전