# Getting that Customer Scope Approval Screen?

**URL:** <https://community.shopify.dev/t/getting-that-customer-scope-approval-screen/4732>\
**Category:** Authentication & Access\
**Tags:** access-scopes\
**Created:** [December 19, 2024, 11:43pm UTC](https://community.shopify.dev/t/getting-that-customer-scope-approval-screen/4732 "2024-12-19T23:43:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hunkybill](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/hunkybill/32/907_2.png) [@hunkybill](https://community.shopify.dev/u/hunkybill)\
**Post date:** [December 19, 2024, 11:43pm UTC](https://community.shopify.dev/t/getting-that-customer-scope-approval-screen/4732/1 "2024-12-19T23:43:53Z")

</div>

I forgot to add scopes to my App configuration, so when i installed it in the Merchant store, it had no scopes. My TOML file had scopes, and I deployed, but apparently, not having the scopes in the App config (Shopify App - Ruby) is where you actually have to place scopes.

So I placed in my scopes, and then reloaded the App. I then had to append /login to the App to bring up the nag screen about approving the new scopes…

What is the better way to deal with this? I used to delete a cookie but that no longer works. What’s the quick trick to forcing an App to re-auth Scopes without uninstalling and re-installing?

---

<div class="post-metadata">

**Author:** ![Mike\_Ragalie](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/mike_ragalie/32/1124_2.png) [@Mike\_Ragalie](https://community.shopify.dev/u/Mike_Ragalie)\
**Post date:** [December 20, 2024, 2:07pm UTC](https://community.shopify.dev/t/getting-that-customer-scope-approval-screen/4732/2 "2024-12-20T14:07:35Z")

</div>

What does your `access_scopes` section look like? Do you have `use_legacy_install_flow` set?

As long as you don’t have that set, Shopify should determine that the scopes have changed and prompt the merchant when loading the app.

---

<div class="post-metadata">

**Author:** ![hunkybill](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/hunkybill/32/907_2.png) [@hunkybill](https://community.shopify.dev/u/hunkybill)\
**Post date:** [December 20, 2024, 2:31pm UTC](https://community.shopify.dev/t/getting-that-customer-scope-approval-screen/4732/3 "2024-12-20T14:31:55Z")

</div>

Access scopes in the TOML file make no difference. The before/after remain the same.

```auto
[access_scopes]
  scopes = "read_products, write_shipping"
  use_legacy_install_flow = true

```

But since the Shopify App Config block had scopes as an empty string, the App installed without the TOML scopes. Making the whole CLI deploy aspect useless. Which is the point of my question. Since the CLI is no help here, what would be a good alternative to forcing the scope changes to take effect for an unsuspecting merchant.

---

<div class="post-metadata">

**Author:** ![Mike\_Ragalie](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/mike_ragalie/32/1124_2.png) [@Mike\_Ragalie](https://community.shopify.dev/u/Mike_Ragalie)\
**Post date:** [December 20, 2024, 2:33pm UTC](https://community.shopify.dev/t/getting-that-customer-scope-approval-screen/4732/4 "2024-12-20T14:33:54Z")

</div>

Agreed that filling in the scopes is pretty useless if you have `use_legacy_install_flow` enabled. Why do you need that? It should be simpler for you if you take that out and let Shopify manage prompting the merchant for you (managed install). See: [Enable Shopify-managed installations for your app](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation)

---

<div class="post-metadata">

**Author:** ![hunkybill](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/hunkybill/32/907_2.png) [@hunkybill](https://community.shopify.dev/u/hunkybill)\
**Post date:** [December 20, 2024, 2:36pm UTC](https://community.shopify.dev/t/getting-that-customer-scope-approval-screen/4732/5 "2024-12-20T14:36:43Z")

</div>

True. But you see how confusing this is having both and then expecting the managed version to at least do something useful! But point taken. Still. My question remains unanswered on how to force an installed App that gets new Scopes (any scopes) to show the nag screen to a merchant.

---

<div class="post-metadata">

**Author:** ![Mike\_Ragalie](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/mike_ragalie/32/1124_2.png) [@Mike\_Ragalie](https://community.shopify.dev/u/Mike_Ragalie)\
**Post date:** [December 20, 2024, 3:59pm UTC](https://community.shopify.dev/t/getting-that-customer-scope-approval-screen/4732/6 "2024-12-20T15:59:19Z")

</div>

The recommended way to ensure the merchant is prompted for new scopes is to use managed install by removing the `use_legacy_install_flow` setting (or setting it to `false`). The link I pasted above describes how to migrate to managed install.

Is there a reason that wouldn’t work for you? If you’re using the `shopify_app` gem it shouldn’t be too bad!

---

<div class="post-metadata">

**Author:** ![hunkybill](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/hunkybill/32/907_2.png) [@hunkybill](https://community.shopify.dev/u/hunkybill)\
**Post date:** [December 20, 2024, 4:20pm UTC](https://community.shopify.dev/t/getting-that-customer-scope-approval-screen/4732/7 "2024-12-20T16:20:12Z")

</div>

The simple reason is just me not being confident it works. I have plenty of anecdotal stories of problems with managed install. It was rolled out, crashed, and caused problems. While it is certainly better today, of that I am sure, I am reluctant to change patterns of use until I am certain it works. In the case of this App, I can likely tweak the pattern to no ill effect, but on my older established Apps, the last thing I want to do is switch to managed install and have NEW problems.
