You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,6 @@ To follow these usage guides, you will need to:
23
23
24
24
- have a working knowledge of ruby and a web framework such as Rails or Sinatra
25
25
- have a Shopify Partner account and development store
26
-
-_OR_ have a test store where you can create a private app
27
26
- have an app already set up in your test store or partner account
28
27
- add the URL and the appropriate redirect for your OAuth callback route to your app settings
29
28
@@ -55,8 +54,8 @@ ShopifyAPI::Context.setup(
55
54
scope:"read_orders,read_products,etc",
56
55
session_storage:ShopifyAPI::Auth::FileSessionStorage.new, # See more details below
57
56
is_embedded:true, # Set to true if you are building an embedded app
58
-
is_private:false, # Set to true if you are building a private app
59
57
api_version:"2022-01"# The version of the API you would like to use
58
+
is_private:false, # Set to true if you have an existing private app
60
59
)
61
60
```
62
61
@@ -68,7 +67,7 @@ Session information would is typically stored in cookies on the browser. However
68
67
69
68
### Performing OAuth
70
69
71
-
Next, unless you are making a private app, you need to go through OAuth as described [here](https://shopify.dev/apps/auth/oauth) to create sessions for shops using your app.
70
+
You need to go through OAuth as described [here](https://shopify.dev/apps/auth/oauth) to create sessions for shops using your app.
72
71
The Shopify API gem tries to make this easy by providing functions to begin and complete the OAuth process. See the [Oauth doc](docs/usage/oauth.md) for instructions on how to use these.
Copy file name to clipboardExpand all lines: docs/usage/oauth.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,7 @@
3
3
Once the library is set up for your project, you'll be able to use it to start adding functionality to your app. The first thing your app will need to do is to obtain an access token to the Admin API by performing the OAuth process.
4
4
5
5
To do this, you can follow the steps below.
6
-
7
-
**Note:** You do not need to go through the OAuth process if you are creating a private app. In this case you can simply set your `<key+password>` as the `api_secret_key` in `ShopifyAPI::Context.setup`. For more information on authenticating a Shopify app please see the [Types of Authentication](https://shopify.dev/apps/auth#types-of-authentication) page.
6
+
For more information on authenticating a Shopify app please see the [Types of Authentication](https://shopify.dev/apps/auth#types-of-authentication) page.
0 commit comments