diff --git a/docs/shopify_app/authentication.md b/docs/shopify_app/authentication.md index d4d8efa60..e14e2fe3f 100644 --- a/docs/shopify_app/authentication.md +++ b/docs/shopify_app/authentication.md @@ -63,14 +63,14 @@ Using token exchange will ensure that the access token retrieved will always hav Authorization code grant flow is the OAuth flow that requires the app to redirect the user to Shopify for installation/authorization of the app to access the shop's data. It is still required for apps that are not embedded. -If your app is not using Shopify managed installation with declared scopes in your `.toml` file, you can change the requested access scopes during OAuth flow +If your app is not using [Shopify managed installation](https://shopify.dev/docs/apps/auth/installation#shopify-managed-installation) with declared scopes in your `.toml` file, you can change the requested access scopes during OAuth flow by adding the `scope` to your configurations - `ShopifyApp.configuration` & `ShopifyAPI::Context.setup`. ```ruby ShopifyApp.configure do |config| ... - config.scope = "read_discounts,write_products" + config.scope = ["read_discounts", "write_products"] ... end