Re: Having troubles with an app after updating scopes

Having troubles with an app after updating scopes

RokasVaitkevici
Shopify Partner
2 0 2

Hello,

 

I have a problem. Recently I've updated my app to have access to more scopes. But the problem is that now when new store tries to install that app - it gets into redirection loop until it spits out an attached error.

 

If I revert scopes back - it works. Stores which had that app installed prior to scope update - works with updated scopes as well, so it's only install that is broken.

 

Cookie setting are all in check, I've tried multiple browsers - same issue.

 

Ofc when deploying scopes, I did: "shopify app config link" then "shopify app deploy" and code that gets deployed also has updated .toml

 

Any suggestions what else can I try? Thanks!

 

Screenshot 2024-02-20 at 11.04.37.png

Reply 1 (1)

tobebuilds
Shopify Partner
447 32 120

Related GitHub issue: https://github.com/Shopify/cli/issues/3504

 

Make sure you have this in your `shopify.app.toml`:

 

```

[build]
include_config_on_deploy = true

```

Founder, Regios Discounts app (4.9 stars, 54 reviews)
- Custom discounts made simple
- "Just about any discount you'll ever need"
- Built by an ex-Google software engineer