phpclassic / php-shopify

PHP SDK for Shopify API
Apache License 2.0
568 stars 211 forks source link

Your app must immediately authenticate using OAuth before any other steps occur. #321

Open tahiriqbalnajam opened 6 months ago

tahiriqbalnajam commented 6 months ago

Hi, Thanks for this nice SDK, I am facing a problem As you know to before createAuthRequest, we have to use PHPShopify\ShopifySDK::config($config) and in this $config we must pass ShopUrl We are showing user to insert there store URL and after that redirecting for authentication which is mentioned in your documentation. But Shopify team is not accepting my app request and rejecting with this message "Your app must immediately [authenticate] using OAuth before any other steps occur. Merchants should not be able to interact with the user interface (UI) before OAuth."

Kindly guide how I can authenticate without a ShopUrl.