Development discussions around Shopify APIs
Hi,
I was following tutorial Build a Shopify App with Node and React , and in the "Embed your app in Shopify" section there's a step where I install the app in my development store. But there's something weird that's happening and I'm not able to figure out the reason,
When I click on install app, I don't get the "Install Unlisted App" popoup for some reason. Rather, I get the following screen directly
So now when I check my dev store, there are no apps installed,
I'm not sure how to get this working.
I haven't gone through this tutorial, but my hunch is either the code in your app isn't routing you to the permissionUrl: https://shopify.dev/tools/app-bridge/getting-started in the 'Authenticate with OAuth' section or perhaps something is up with that install link. I don't know what that install link does, I was never able to get it to work. Instead what worked for me was manually generating a permissionUrl like this:
https://{shop}.myshopify.com/admin/oauth/authorize?client_id={api_key}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}&grant_options[]={access_mode}
Try that for your development store, you should see the OAuth prompt and you can proceed.
Hey @satwik97
I ran through the tutorial you are referring to and was able to get it to install into my dev shop without issue. I would suggest you try cloning the completed code from https://github.com/shopify/shopify-demo-app-node-react/ to see if that works for you.
Kevin_A | Solutions Engineer @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
User | RANK |
---|---|
6 | |
5 | |
5 | |
5 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022