Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
We have an embedded app that loads our website inside of the users Shopify admin panel. However, there is one issue we cannot figure out.
When the user installs our app, and they accept permissions, it redirects them to our website, rather than to the embedded app. If they go back to their shopify admin and click on our app, it then loads the embedded app in their dashboard without any issues from there on out.
How do we get the embedded app to load inside of the shopify admin panel when the user first installs it, instead of it redirecting to our site?
Hey there,
A redirect URL is specified during the OAuth flow when constructing the install link as specified here: https://help.shopify.com/en/api/getting-started/authentication/oauth#step-2-ask-for-permission
Can you confirm that the URL you are using for the redirect_uri parameter matches the URL of your app and not that of your website?
Hi Zameer,
We managed to get this working now, it was an entirely separate issue.
Is there a way to differentiate on our end when it's an auth as a first time install when they click the button on our app store page vs. when the user is clicking on the already installed app to launch the embed?
Where we are running into issues is when the user installs the app, then uninstalls it, and tries to re-install it, it's going directly to our site now, instead of initializing the auth flow again.
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By