Not calling oAuth redirect uri

1 0 0

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 ?


Reply 1 (1)

Shopify Partner
21 4 2

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! 😉

Frontend (Shopify) Engineer at SpiralScout

  • - Was my reply helpful? Click Like to let me know!
  • - Was your question answered? Mark it as an Accepted Solution!