Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello. I have the default bare bones app created and converted it to a sales channel app. I have it hosted on fly.io. Everything was working great until 2 days ago. All I'm doing is using OAuth to connect to a users store from my own web app and retrieving their products so they can be listed on my web app with a link to their Shopify store. The user enters their store name and submits it and I am using Laravel with socialite to redirect them to Shopify and login to their store, install my app and then they are supposed to be redirected back to my redirect uri I specified so I can do my thing in there. Instead of being redirected it goes to the Shopify settings Apps and sales channels tab and I get the message:
The app couldn’t be loaded
This app can’t load due to an issue with browser cookies. Try enabling cookies in your browser, switching to another browser, or contacting the developer to get support.
I am testing this on my Dev store I have in my Partners account as the app is currently not listed and approved yet.
I've cleared cookies and used different browsers and I have allow all cookies, it's all the same
Another problem I was having sometimes is instead of being redirected to my redirect uri, after the app is installed I would be redirected to https://callback.myshopify.com/admin/oauth/authorize?etc... and it would say Shop is not available.
As I said this was all working with no issues a few days ago. Please Help!
I wanted to add this is a brand new app using the latest Node and React boilerplate that uses sessions. And this only happens after user logs into their store and installs app. If I go to the app after that there are no issues with the app loading. Just anytime I try to call the api and expect a redirect back I get this cookie issue.
Can anyone help please??!! When this happens I also get oauth_error=same_site_cookies in the url.
The "oauth_error=same_site_cookies" error can occur if the access scopes configured on the deployed server do not match the scopes defined for the app in in Shopify.
We're you able to solve your issue? We're dealing with a similar one.
Hi! I got a similar issue recently, did you figure out the problem?
Edit: it seems like I had issue with scopes
anyone got answer of this issue?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024