diff --git a/docs/shopify_app/generators.md b/docs/shopify_app/generators.md index 2a03cfabc..9b7f02ba9 100644 --- a/docs/shopify_app/generators.md +++ b/docs/shopify_app/generators.md @@ -46,7 +46,7 @@ The name of your app. The flag can be supplied with or without double-quotes. ###### `--scope` -The [OAuth access scope(s)](https://shopify.dev/docs/admin-api/access-scopes) required by your app. Delimit multiple access scopes using a comma-space. The flag can be supplied with or without double-quotes. +The [OAuth access scope(s)](https://shopify.dev/docs/api/usage/access-scopes) required by your app. Delimit multiple access scopes using a comma-space. The flag can be supplied with or without double-quotes. *Example:* `--scope read_products, write_orders` diff --git a/lib/generators/shopify_app/install/templates/shopify_app.rb.tt b/lib/generators/shopify_app/install/templates/shopify_app.rb.tt index 70c1e1dfb..a1ba381b1 100644 --- a/lib/generators/shopify_app/install/templates/shopify_app.rb.tt +++ b/lib/generators/shopify_app/install/templates/shopify_app.rb.tt @@ -1,8 +1,7 @@ ShopifyApp.configure do |config| config.application_name = "<%= @application_name %>" config.old_secret = "<%= @old_secret %>" - config.scope = "<%= @scope %>" # Consult this page for more scope options: - # https://help.shopify.com/en/api/getting-started/authentication/oauth/scopes + config.scope = "<%= @scope %>" # Consult this page for more scope options: https://shopify.dev/docs/api/usage/access-scopes config.embedded_app = <%= embedded_app? %> config.new_embedded_auth_strategy = <%= embedded_app? %>