Kyon147 / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
363 stars 107 forks source link

oAuth redirection based on Shopify app requirments #250

Closed APdevelopments closed 9 months ago

APdevelopments commented 9 months ago

I'm using an ancient version of the package and Laravel 5.8. I cant change to newer because of some must-have libraries that do not work with the newest version of Laravel.

I got a URGENT email from Shopify, and they delisted my app because of: 'A. AuthenticationAnchor link to section titled "A. Authentication" Your app must immediately authenticate using OAuth before any other steps occur, even if the merchant has previously installed and then uninstalled your app."

I looked at my version (12.1), and AuthController.php, AuthenticateShop.php, and AuthorizeShop.php handle that part. Currently,/authenticate redirects the user to the authenticate/oauth?shop=exampleshop.myshopify.com, and that is a problem for Shopify, and they delisted my app.

Please help me fix the issue as soon as possible because it's critical for my business. What I have to change in these files to redirect users immediately to Shopify oAuth page. I know I can use the latest library version, but unfortunately, it's not possible in my case.

APdevelopments commented 9 months ago

Very urgent if someone can help

Kyon147 commented 9 months ago

@APdevelopments I'm moving this to a discussion as it is not an issue with the package.