Skip to content

Commit

Permalink
Merge pull request #1944 from Shopify/fix-scopes-url
Browse files Browse the repository at this point in the history
Fix access scopes doc url
  • Loading branch information
Arkham authored Feb 27, 2025
2 parents 2dd9feb + 62842b1 commit ef63ee3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/shopify_app/generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
Original file line number Diff line number Diff line change
@@ -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? %>

Expand Down

0 comments on commit ef63ee3

Please sign in to comment.