patelmayankce / react-apple-login

A Apple Log-in Component for React
MIT License
65 stars 21 forks source link

Refused to execute inline script #27

Open MihaiTrinca opened 3 years ago

MihaiTrinca commented 3 years ago

Hey, I am getting an error when using basic ( default setup ) This error also appears on https://patelmayankce.github.io/react-apple-login/ where the demo is located

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' https://www.apple.com https://appleid.cdn-apple.com https://idmsa.apple.com https://gsa.apple.com https://idmsa.apple.com.cn https://signin.apple.com ". Either the 'unsafe-inline' keyword, a hash ('sha256-6wRdeNJzEHNIsDAMAdKbdVLWIqu8b6+Bs+xVNZqplQw='), or a nonce ('nonce-...') is required to enable inline execution.

I've also seen a ticket about this on apple dev forums. https://developer.apple.com/forums/thread/668286

Does anyone have a solution for this ?