Scopes get overridden on local development dev store

Hi,

We’ve successfully completed the dev dashboard migration except for one issue regarding scopes.

We’re still using the oauth flow and therefore our shopify.app.toml does not contain any access scopes, as that would automatically opt us in to the Shopify managed installation which we don’t want to do yet.

Still, when running yarn dev - the dev preview store loses all of its access scopes.

My guess is that the new dev mode automatically installs the app using a Shopify managed installation, which doesn’t contain any scopes so it results in a broken, no-scope installation but not sure.

Any idea on what the problem / solution could be?

Thanks🙏

Hi @daniel_Zlotnik

Can you ensure you are on the latest CLI, and try adding use_legacy_install_flow = true to your [access_scopes] configuration?

-Nick

Hi @NickWesselman , thanks for your reply, unfortunately scopes are still removed when using use_legacy_install_flow = true as well.

Is there any way to run dev without the dev-store app installation preview?

That should solve it. Are you on the latest Shopify CLI?

If you are still experiencing the issue, can you post your full app toml, with sensitive fields redacted?