Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I called this url and it successfully load the shopify site. but not coming call to the redirect uri. does anyone has idea what is the issue ?
{shopifyurl}/admin/oauth/authorize?client_id=${consumerKey}&scope=read_orders&redirect_uri=${originOfMyApp}/api/shopify/CallbackUrl
Hi, @tharindu_97!
I'm pretty sure it's because you didn't specify 'redirect_uri' correctly. Most likely there is an extra part there ('.../shopify/...').
Try to edit your 'redirect_uri' to `${your-app-origin}/api/${your-callback-url}`,
or just `${your-app-origin}/${your-callback-url}`.
NOTE: I want to point out that shopify doesn't allow apps that have the word 'shopify' in their auth callback URLs into the AppStore. You can only have one whitelisted URL with the word 'shopify' - the default one (https://{your-app-origin}/auth/shopify/callback)
If this didn't help you, please describe your problem in more detail, with code examples.
I hope it will be useful, have a nice day! 😉