Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”) #197

Closed
Dhyanesh97 opened this issue Apr 26, 2022 · 2 comments

Comments

@Dhyanesh97
Copy link

Dhyanesh97 commented Apr 26, 2022

image

When I open Cloudfront URL after authenticating with cognito it shows above errors that it is not able to load the page due to security issues.

image

How can I modify headers from existing setup to resolve this issue ?
Or any possible solution for this ?

Any help appreciated.

@Dhyanesh97
Copy link
Author

added Response headers policy to the cloudfront behaviors which resolved the issue.

@ottokruse
Copy link
Collaborator

Great that you resolved it. If interested, see #73 for some other options to resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants