We're having issues with understanding the logic behind the remote redirection to the parent window after carefully reading the following documentation https://help.shopify.com/en/api/guides/itp-impact.and looking through the previous forum comments.
On the server-side using PHP, we set the session of the name of the store and we're able to get the session and it's working in browsers like Chrome or Firefox. Through Safari, the system is not storing any cookies and we are not able to load our application through the iframe inside the admin panel.
Is there anyone inside Shopify that can help us?
Is your app detecting Safari 12+ users and following the flow set out in https://help.shopify.com/en/api/guides/itp-impact? These users will need to interact with your app while it's the parent window, and accept to receive cookies, before redirecting back to Shopify. At what point are you getting stuck? Would a bare bones example be helpful?
Hi @WebContrive .
What do you need help with exactly? We fixed our problem by detecting Safari browsers and then tweaking our redirection logic and setting a new page and setting the cookie.
I Create Shopify App in PHP, It's working good in chrome, but it's not working in Safari And Firefox Browser,
I got this error
"Unrecognized Content-Security-Policy directive 'worker-src'."
"Refused to load https://lasy-international.myshopify.com/admin/auth/login because it does not appear in the frame-ancestors directive of the Content Security Policy."
Is there anyone who can help me solve this issue?
Please let me know what integration should i do?