Skip to content

Commit 62842b1

Browse files
committed
Fix access scopes doc url
1 parent 2dd9feb commit 62842b1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/shopify_app/generators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The name of your app. The flag can be supplied with or without double-quotes.
4646

4747
###### `--scope`
4848

49-
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.
49+
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.
5050

5151
*Example:* `--scope read_products, write_orders`
5252

lib/generators/shopify_app/install/templates/shopify_app.rb.tt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
ShopifyApp.configure do |config|
22
config.application_name = "<%= @application_name %>"
33
config.old_secret = "<%= @old_secret %>"
4-
config.scope = "<%= @scope %>" # Consult this page for more scope options:
5-
# https://help.shopify.com/en/api/getting-started/authentication/oauth/scopes
4+
config.scope = "<%= @scope %>" # Consult this page for more scope options: https://shopify.dev/docs/api/usage/access-scopes
65
config.embedded_app = <%= embedded_app? %>
76
config.new_embedded_auth_strategy = <%= embedded_app? %>
87

0 commit comments

Comments
 (0)