搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Facebook Sign in CSP problem

  • 無回覆
  • 1 有這個問題
  • 15 次檢視
more options

I've developed an app in Python Flask and deployed it with Nginx and uWSGI. On login page in Firefox Facebook login button is not showing and I get an warning message in console:

Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified

Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified

Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified

I've tried setting CSP config on nginx and in flask using Flask-CSP but the problem is still here.

Facebook SignIn works on all other browsers and Google Sign in works in all browsers including Firefox

I've developed an app in Python Flask and deployed it with Nginx and uWSGI. On login page in Firefox Facebook login button is not showing and I get an warning message in console: Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified I've tried setting CSP config on nginx and in flask using Flask-CSP but the problem is still here. Facebook SignIn works on all other browsers and Google Sign in works in all browsers including Firefox