gnikyt / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
1.24k stars 374 forks source link

Safari: Blocked Mixed Content #1102

Closed VikasGhai closed 2 years ago

VikasGhai commented 2 years ago

Hi All,

I am having an issue in my app. It is working fine except the Safari browser and iPhones. I am getting following error: Blocked mixed content t http://app_name.herokuapp.com/authenticate/token?shop=test-dash-discount.myshopify.com&target=%2Fhom... block-all-mixed-content' appears in the Content Security Policy.

My App is hosted on Heroku and it is also in production. Here is the link of my production app. https://apps.shopify.com/dash-discounts

This is my staging app using same code and I am getting following error. image

Please help me to fix this issue.

Kyon147 commented 2 years ago

Hi @VikasGhai

That is a standard browser error as you are serving the app from both http and https. It does not sound like an issue with the package. You just need to make sure all your content is being served from HTTPS.