php-shopify icon indicating copy to clipboard operation
php-shopify copied to clipboard

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

Open tahiriqbalnajam opened this issue 1 year ago • 2 comments

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.

tahiriqbalnajam avatar Feb 15 '24 19:02 tahiriqbalnajam

Hi @tahiriqbalnajam, did you find a solution to this? I am facing the same issue with this requirement.

Vandanaba-Fleetrun avatar Jan 30 '25 06:01 Vandanaba-Fleetrun

I have found solution for this right here. @tahiriqbalnajam @Vandanaba-Fleetrun

Image

prkskrs avatar Feb 11 '25 17:02 prkskrs