I am using a library ( https://github.com/osiset/laravel-shopify
) to create Shopify APP using Laravel. Everything is working fine. But facing the error in case of not logged in to Shopify App admin.I am beginner to Shopify and created custom app. Please guide.
2
Answers
Are you on local?
The AuthShop was changed back in v10 which now throws the exception above.
On production, it will redirect to /login. also check App_debug
I had the same problem. I solved it by specifying my shop-url in the url parameters:
https://example.com/?shop=myshop.myshopify.com
This works also with ngrok:
https://6a8b17b2c39a.ngrok.io/?shop=myshop.myshopify.com