From 79519b661b6ff506a44f443fd8d7dfb317bb6590 Mon Sep 17 00:00:00 2001 From: Zoey Lan Date: Fri, 4 Oct 2024 13:49:12 -0600 Subject: [PATCH] Add links to docs --- docs/shopify_app/authentication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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