Liquid, JavaScript, themes, sales channels
Hi, I have an app which has some existing users. I am going to update some new scopes in the app. So, in that case will the existing users have to uninstall and reinstall the app for new scopes? Is it possible to promt the existing users to update app from shopify app?
Hey @nayeem_azad!
Your existing users do not need to uninstall and reinstall if you change your app's permission scope(s). You'll just need to make sure to redirect users to the app authorization link and request authorization of new permissions. See docs here: https://shopify.dev/apps/auth/oauth#changes-to-granted-scopes
I don't know if this used to be correct but as of now, you have to re-push some info to shopify.
From Shopify's app readme.md:
"If you change your app's scopes and notice that authentication goes into a loop and fails with a message from Shopify that it tried too many times, you might have forgotten to update your scopes with Shopify.
You have to run: npm run shopify app config push
Just running 'shopify app config push' won't work which is pretty lame. Shopify - fix up your cli tool.
However, even after I do this, the scopes for my app do not update in shopify. I even tried uninstalling and reinstalling and there was no change. Any help would be appreciated.
User | RANK |
---|---|
38 | |
28 | |
13 | |
13 | |
9 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023